Skip to content

Correct ambiguous 'ls' command #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

N0NB
Copy link

@N0NB N0NB commented Aug 13, 2023

In the "Copying and Moving Files" section the '-F' option is passed to 'ls' to show two files and two directories. The next command moves one of the files to a directory and the following example shows a bare 'ls' but with one of the directories with a trailing '/' character (the result of the '-F' option).

This patch removes the ambiguity by showing the result when '-F' is passed to 'ls' by adding the option to the command and showing both directories with trailing '/' characters.

This ambiguity is also present in the original book available from: https://www.oreilly.com/openbook/utp/

In the "Copying and Moving Files" section the '-F' option is passed to
'ls' to show two files and two directories.  The next command moves one
of the files to a directory and the following example shows a bare 'ls'
but with one of the directories with a trailing '/' character (the
result of the '-F' option).

This patch removes the ambiguity by showing the result when '-F' is
passed to 'ls' by adding the option to the command and showing both
directories with trailing '/' characters.

This ambiguity is also present in the original book available from:
https://www.oreilly.com/openbook/utp/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant