Re: retain_quoted v0.003

From: William Park (opengeometry_at_yahoo.ca)
Date: 10/12/05


Date: Tue, 11 Oct 2005 22:44:55 -0400

John Kelly <jakelly@shtc.net> wrote:
> On Tue, 11 Oct 2005 18:01:13 -0400, William Park
> <opengeometry@yahoo.ca> wrote:
>
> >I seem to remember people here giving you several solutions to this
> >situation. One being
> >
> > cat > file << EOF
> >column_1 '' column_3 "This string is in column_4"
> >EOF
> >
> > read a < file
> > eval set -- $a
> > printf '{%s}\n' "$@"
> >
> >which produces
> >
> > {column_1}
> > {}
> > {column_3}
> > {This string is in column_4}
>
>
> Like I told Dave, try that "solution" with this data:
>
> "That\"s all folks"
>
>
> and th ththt thththt that's all folks!

Which part of
    read -r ...
do you not understand?

-- 
William Park <opengeometry@yahoo.ca>, Toronto, Canada
ThinFlash: Linux thin-client on USB key (flash) drive
	   http://home.eol.ca/~parkw/thinflash.html
BashDiff: Super Bash shell
	  http://freshmeat.net/projects/bashdiff/


Relevant Pages