On 6/25/2018 3:52 PM, Rich Shepard wrote:

According to 'man ls' the -d option should 'list directories themselves, not their
contents'. But, here it doesn't work. For example from within ~/:

$ ls -d
./

$ ls --directory
./

  I doubt this is a Slackware issue and I'm curious why it might not be
working as expected. Has anyone else run into this issue?

Rich
_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug


Rich,
It's working as expected.
"ls" with no arguments lists the contents of the current directory.
"ls -d" with no other arguments lists the current directory, not its contents, which is of course "."

Steve

_______________________________________________
PLUG mailing list
PLUG@pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to