On Thu, 7 Nov 2002, Leonard den Ottolander wrote:

> while read line; do echo ${line}; done < somefile

Us raw input instead:

    while read -r line; do echo ${line}; done < somefile

Then, given that somefile contains:

    \
    \\
    \\\
    \\\\
        
you will get exactly that as output. Use "help read | less" at the
bash command line for more info.

-- 
"Whenever I feel blue, I start breathing again."

                               - Unknown




-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@;redhat.com?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to