diff options
author | Jim Meyering <jim@meyering.net> | 2003-01-24 13:47:21 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-01-24 13:47:21 +0000 |
commit | d57cca6de03a6aa6df3fbbbfd6dc72feab7bb767 (patch) | |
tree | 31b9faa7ab52cc24534d38dc34883487907b85b7 | |
parent | 527715894fcbb3ccd572b13769955c65a7b43a77 (diff) | |
download | coreutils-d57cca6de03a6aa6df3fbbbfd6dc72feab7bb767.tar.xz |
(The cut command): Extend the new example a little.
-rw-r--r-- | doc/coreutils.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 657ed5b6e..3488e08ac 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -11921,6 +11921,19 @@ $ mysql -e 'select * from home' test @print{} +------+------+------+------+---------------------+ @end example +But beware of assumptions. +The above invocation of @command{ls} assumes that the owner +and group names are no longer than eight bytes each, +and that no file has size larger than 99999999 bytes. +Otherwise, the byte offset of @samp{57} would need to be larger. +To avoid such problems, suppress output of the owner and group +names with the @option{-g} and @option{-G} options respectively, +and add the @option{-h} option to ensure that the representation +of the size of the file does not exceed the allotted space. +Finally, note that the width of even the date/time field may change, +depending on the current locale. To avoid that, use an option +like @option{--time-style='+%Y-%m-%d %H:%M:%S'}. + @node The sort command @unnumberedsec The @command{sort} Command |