shell-novice icon indicating copy to clipboard operation
shell-novice copied to clipboard

changing quotes to single quotes

Open GentleInfant opened this issue 2 years ago • 2 comments

When dealing with special characters the lesson advises to use quotes, however single quotes is the safer option. For example

touch \$HOME
ls "$HOME" # lists the contents of the home directory
ls '$HOME' # lists the '$HOME' file

Please delete this line and the text below before submitting your contribution.


Thanks for contributing! If this contribution is for instructor training, please send an email to [email protected] with a link to this contribution so we can record your progress. You’ve completed your contribution step for instructor checkout just by submitting this contribution.

Please keep in mind that lesson maintainers are volunteers and it may be some time before they can respond to your contribution. Although not all contributions can be incorporated into the lesson materials, we appreciate your time and effort to improve the curriculum. If you have any questions about the lesson maintenance process or would like to volunteer your time as a contribution reviewer, please contact The Carpentries Team at [email protected].


GentleInfant avatar Jun 08 '23 02:06 GentleInfant

Thank you!

Thank you for your pull request :smiley:

:robot: This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

  • :dart: correct output
  • :framed_picture: correct figures
  • :question: new warnings
  • :bangbang: new errors

Rendered Changes

:mag: Inspect the changes: https://github.com/swcarpentry/shell-novice/compare/md-outputs..md-outputs-PR-1406

The following changes were observed in the rendered markdown documents:

 02-filedir.md | 24 ++++++++++++------------
 03-create.md  |  3 ++-
 md5sum.txt    |  4 ++--
 3 files changed, 16 insertions(+), 15 deletions(-)
What does this mean?

If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible.

This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

:stopwatch: Updated at 2024-03-08 23:32:49 +0000

github-actions[bot] avatar Jun 08 '23 02:06 github-actions[bot]

Thanks. As per , this is good. Due to time constraints, it is unlikely this can be discussed. Perhaps adding a link to the documentation is helpful?

bkmgit avatar Jul 23 '23 08:07 bkmgit

Thanks @GentleInfant for the addition and @bkmgit for adding a link to the documentation.

ErinBecker avatar Mar 08 '24 23:03 ErinBecker