euglug.org

[Eug-lug] Shell scripting IFS woes

작성자

카테고리:



Bob MillerTue Nov 15 11:43:44 PST 2005

Fred James wrote:

> I was able to get this one to work by removing the 'echo', and adding \" 
> in four places (see below) - granted my testing was all local.  Does it 
> behave differently copying from remote?

Oh, right.  The remote shell will strip off another level of
quoting.  But you're local, so there shouldn't be a remote
shell.  I'm not sure why you needed the extra quotes --
did your filenames have quotes in them?

-- 
Bob Miller                              K<bob>
                                        kbob at jogger-egg.com