[Discuss] insert text in a large file without open it

aldo albanese aldo_albanese at yahoo.com
Wed Jun 27 15:17:55 EDT 2012


Ben, it worked, 

thank you guys.

Aldo


________________________________
 From: Ben Eisenbraun <bene at klatsch.org>
To: aldo albanese <aldo_albanese at yahoo.com> 
Cc: Gregory Boyce <gboyce at badbelly.com>; "discuss at blu.org" <discuss at blu.org> 
Sent: Wednesday, June 27, 2012 3:13 PM
Subject: Re: [Discuss] insert text in a large file without open it
 
Hi Aldo,

> Hi Greg,
> I appreciated you fast response.  
> when I execute the following 
> echo "Un!sphere8" >> '/user/filename.txt'

! is a reserved word in the shell. 'man bash' for the rest of them.

Instead use one of:

echo Un\!sphere8 >> '/user/filename.txt'
echo 'Un!sphere8' >> '/user/filename.txt' 

You can read about the quoting rules in the man page as well.

-b

--
if you can't be just, be arbitrary.             <william s. burroughs>


More information about the Discuss mailing list