[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Shell Scripting Question
- Subject: [ale] Shell Scripting Question
- From: jasonday at worldnet.att.net (Jason Day)
- Date: Wed Dec 10 14:24:45 2003
- In-reply-to: <[email protected]>
- References: <[email protected]>
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