swcarpentry / shell-novice

The Unix Shell
http://swcarpentry.github.io/shell-novice/
Other
375 stars 972 forks source link

Misspelled recursive flag #1389

Closed isepec closed 1 year ago

isepec commented 1 year ago

In section "Copying files and directories" flag for recursive option was misspelled in two places. It said "-r" instead of "-R"!

github-actions[bot] commented 1 year ago

:ok: Pre-flight checks passed :smiley:

This pull request has been checked and contains no modified workflow files, spoofing, or invalid commits.

It should be safe to Approve and Run the workflows that need maintainer approval.

isepec commented 1 year ago

Lapsus calami! Closed the PR because my correction was, in fact, incorrect.

Recursive option for "cp" command can actually be both "-r" and "-R". "ls" command is where "-r" and "-R" mean different things (reverse and recursive, respectively).

Note to myself: When in doubt, use "--help" option for checking possible options for a specific command!