Click to See Complete Forum and Search --> : ascii space


gleather
04-20-2003, 11:31 PM
Hello all.

I need to know how to insert an ascii code in, for example, a bash command line.

If I have a file of:
This is line one.
This is line two.

and I type
$cut -f1 file

I get the whole file, because the default delimiter is a TAB.

I need to type
$cut -d<SPACE> -f1 file

but I don't know what to put for <SPACE>

Thanks for any help.

EscapeCharacter
04-21-2003, 01:39 AM
have you tried ' '?

gleather
04-21-2003, 11:11 AM
Excellent, thanks.