[plug] ridiculous UNIX one-liner

Mike Holland myk at plug.linux.org.au
Fri Jan 31 11:55:26 WST 2003


On Fri, 31 Jan 2003, Craig Ringer wrote:

> > cut -d "\t"
> 
> Didn't work under bash:
> 
> craig at albert:~$ echo "\t"
> \t
> craig at albert:~$ echo '\t'
> \t

Craig, neither bash nor cut recognise such escape sequences.
But see echo(1) man page, and the '-e' option.
e.g.  % echo -e '\t'


-- 
You ain't seen nothing yet.  - Miguel de Cervantes




More information about the plug mailing list