[dundee] Help with Bash Shell

Robert Ladyman it at file-away.co.uk
Thu Mar 31 07:59:45 UTC 2011


Whoops - that should be:
QUOTED_DATA="'$data'" 

although the echo would work
> 
> if that fails, use the echo trick above and put the result into a new
>  variable
> 
> QUOTED_DATA=`echo "'$data'"`
> 
> note the back-ticks around the right-hand statement
> 

-- 
Robert Ladyman
File-Away Limited
3 Ralston Business Centre, Newtyle, Blairgowrie
Perthshire  PH12 8TL SCOTLAND
Tel: +44 (0) 1828 898 158
Mobile: +44 (0) 7732 771 649
http://www.file-away.co.uk

============================================
Registered Office: 32 Church Street, Newtyle, Blairgowrie
Perthshire, PH12 8TZ SCOTLAND
Registered in Scotland, Company Number SC222086




More information about the dundee mailing list