On Sun, May 27, 2007 at 10:49:52AM +0900, [EMAIL PROTECTED] wrote:
I want to have a shell variable such as:
        name='abc    def'

How to do?

You could start by reading the paper or the man page.

for 'abc    def':

ifs='
' { name = `{cat foo} }

for 'abc    def
', or 'abc    def' if you'd used 'echo -n':

ifs=() { name = `{cat foo} }

--
Kris Maglione

Bad law is more likely to be supplemented than repealed.

Attachment: pgpwLthQcf2Yn.pgp
Description: PGP signature

Reply via email to