From d57cca6de03a6aa6df3fbbbfd6dc72feab7bb767 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 24 Jan 2003 13:47:21 +0000 Subject: (The cut command): Extend the new example a little. --- doc/coreutils.texi | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- cgit v1.2.3-70-g09d2