Hello.

I have a problem that I feel difficult to solve.
Assume a filename is in a file "foo"
Then rc script
        name=`{cat foo}
will mostly succeed in copying the filename to "name" but for some exceptions.

For example:
        echo 'abc    def' >foo
        name=`{cat foo}
        whatis name
The output result is:
        name=(abc def)

I want to have a shell variable such as:
        name='abc    def'

How to do?

Kenji Arisawa


Reply via email to