[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vi within a shel script
charles@lunargraphics.net wrote:
> echo -n $UserName >> ./filename
>
> will append the variable to the end of the first line of filename,
> however, it does not seperate each new entry with a space. is there a way
> to specify a space before the $UserName?
Ah, yes. Sorry.
echo -n " $UserName" >> ./filename
Notice the space between the first quote and the dollar sign.
--
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.