How ls.usage should look like?
$ man ls
SYNOPSIS
ls [-ABCFGHLPRTWZabcdefghiklmnopqrstuwx1] [file ...]
$ echo "ls [-ABCFGHLPRTWZabcdefghiklmnopqrstuwx1] [file ...]" > ~/.compleat/ls.usage
$ exec bash
$ ls -↹
$ ls -ABCFGHLPRTWZabcdefghiklmnopqrstuwx1
(↹ is a tab key)
This is not what I'm expecting. Ok, another try:
$ echo "ls [-(A|B|C|F|G|H|L|P|R|T|W|Z|a|b|c|d|e|f|g|h|i|k|l|m|n|o|p|q|r|s|t|u|w|x|1)] [<file> ...]" > ~/.compleat/ls.usage
$ exec bash
$ ls ↹
$ ls -
Instead of file listing - added.
$ ls - ↹
1 B F H P T Z b d f h k m o q s u x
A C G L R W a c e g i l n p r t w
Space after - should not exist.
BTW, the idea of compleat is really elegant. I like it.
How ls.usage should look like?
(
↹is a tab key)This is not what I'm expecting. Ok, another try:
Instead of file listing
-added.Space after
-should not exist.BTW, the idea of compleat is really elegant. I like it.