mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(The cut command): Extend the new example a little.
This commit is contained in:
1 parent
527715894f
commit
d57cca6de0
1 file changed
+13
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user