sed - \t as tab does not work

Problem :
taken from the SED $HOME :

"USE OF '\t' IN SED SCRIPTS: For clarity in documentation, we have used
the expression '\t' to indicate a tab character (0x09) in the scripts.
However, most versions of sed do not recognize the '\t' abbreviation,
so when typing these scripts from the command line, you should press
the TAB key instead. '\t' is supported as a regular expression
metacharacter in awk, perl, and HHsed, sedmod, and GNU sed v3.02.80."

Solution :

use <ctrl-v> then the TAB key and it will appear some white space, that's tab ...

AdiĆ³s !!!

No comments: