> thanks, tried and works.
> 
> 
> used sed for quoting; end result is perl-ugly:
> 
> alljs=`{find -name '*.js' | 9 sed 's/''/''''/g; s/^|$/''/g' }
> or
> alljs=`{find -name '*.js' | 9 sed 's/^|$|''/&''/g' }

great.  glad that worked.  though it is always a bit sad
when one has to outwit one's tools.

as you may have noticed from the example, there are
some pitfalls (echo $x|wc got the wrong answer).

- erik

Reply via email to