# HG changeset patch # User Rob Landley # Date 1372629177 18000 # Node ID b58e86e366ab7a6ee4f21808b32845668f6a0a82 # Parent 812e8c5d026fa5244a05f1889bd7fbf08e1e8957 Condense ls help text. diff -r 812e8c5d026f -r b58e86e366ab toys/posix/ls.c --- a/toys/posix/ls.c Sun Jun 30 15:58:24 2013 -0500 +++ b/toys/posix/ls.c Sun Jun 30 16:52:57 2013 -0500 @@ -15,36 +15,22 @@ list files what to show: - -a all files including .hidden - -c use ctime for timestamps - -d directory, not contents - -i inode number - -k block sizes in kilobytes - -p put a '/' after directory names - -q unprintable chars as '?' - -s size (in blocks) - -u use access time for timestamps - -A list all files except . and .. - -H follow command line symlinks - -L follow symlinks - -R recursively list files in subdirectories - -F append file type indicator (/=dir, *=exe, @=symlink, |=FIFO) + -a all files including .hidden -c use ctime for timestamps + -d directory, not contents -i inode number + -k block sizes in kilobytes -p put a '/' after dir names + -q unprintable chars as '?' -s size (in blocks) + -u use access time for timestamps -A list all files but . and .. + -H follow command line symlinks -L follow symlinks + -R recursively list files in subdirs -F append /dir *exe @sym |FIFO output formats: - -1 list one file per line - -C columns (sorted vertically) - -g like -l but no owner - -l long (show full details for each file) - -m comma separated - -n like -l but numeric uid/gid - -o like -l but no group - -x columns (sorted horizontally) + -1 list one file per line -C columns (sorted vertically) + -g like -l but no owner -l long (show full details) + -m comma separated -n like -l but numeric uid/gid + -o like -l but no group -x columns (horizontal sort) sorting (default is alphabetical): - -f unsorted - -r reverse - -t timestamp - -S size + -f unsorted -r reverse -t timestamp -S size */ #define FOR_ls