[ale] Shell Scripting Question

Jason Day jasonday at worldnet.att.net
Wed Dec 10 14:24:45 EST 2003


On Wed, Dec 10, 2003 at 11:48:01AM -0500, Nick Travis wrote:
[snip]
> > echo $first $current_file $middle $current_file $end >> /usr/local/apache2/htdocs/music/files.html
> 
> Here's what it gives me:
> /music/ my-file
> 
> I need to get:
> /music/my-file

Try this instead:

echo ${first}${current_file}${middle}${current_file}${end} >> /usr/local/apache2/htdocs/music/files.html
-- 
Jason Day                                       jasonday at
http://jasonday.home.att.net                    worldnet dot att dot net
 
"Of course I'm paranoid, everyone is trying to kill me."
    -- Weyoun-6, Star Trek: Deep Space 9



More information about the Ale mailing list