[PLUG] Specifying white space as delimiter for 'cut'

Rich Shepard rshepard at appl-ecosys.com
Mon Nov 7 16:29:15 UTC 2016


On Mon, 7 Nov 2016, Michael Rasmussen wrote:

> cut can use other delimiters besides spaces. And can, helpful in this
> case, choose arbitrary byte offsets:

>    michael at bivy /srv/photo/365_2012 % ls -l | head | cut -b1-10,53-
> The man page for cut lists "-b, --bytes=LIST" as the first described option.
> man is your friend.

Michael,

   I tried -c for characters and forgot that that's not synonymous with
bytes.

Thanks,

Rich



More information about the PLUG mailing list