On Tue, Dec 03, 2002 at 11:42:05AM +0100, Paul Everlund wrote:
> On Tue, 3 Dec 2002, Roman Neuhauser wrote:
>
> > # [EMAIL PROTECTED] / 2002-12-03 11:13:39 +0100:
> > > On Tue, 3 Dec 2002, Malik Blent wrote:
> > > > But my expression has "/" that is there is a "/" in a expression
> > > > What shal
On Tue, 3 Dec 2002, Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2002-12-03 11:13:39 +0100:
> > On Tue, 3 Dec 2002, Malik Bülent wrote:
> > > But my expression has "/" that is there is a "/" in a expression
> > > What shall i do ?
> > > my expression is "new: 11" I want to change "new: 11" wit
# [EMAIL PROTECTED] / 2002-12-03 11:13:39 +0100:
> On Tue, 3 Dec 2002, Malik Bülent wrote:
> > But my expression has "/" that is there is a "/" in a expression
> > What shall i do ?
> > my expression is "new: 11" I want to change "new: 11" with "new/11"
> >
> > thanks
>
> # echo "new: 11" | sed
On Tue, 3 Dec 2002, Malik Bülent wrote:
> But my expression has "/" that is there is a "/" in a expression What shall
> i do ?
> my expression is "new: 11" I want to change "new: 11" with "new/11"
>
> thanks
# echo "new: 11" | sed s/new\:\ 11/new\\/11/
Best regards,
Paul
To Unsubscribe: se
# [EMAIL PROTECTED] / 2002-12-02 16:53:01 +0100:
> # [EMAIL PROTECTED] / 2002-12-02 16:36:21 +0100:
> > On Mon, 2 Dec 2002, [iso-8859-9] Malik Bülent wrote:
> >
> > > On Freebsd4.x
> > > I have a file. I want to change some expressions with new ones
> > > For example a file
> > > touch /var/qmail
# [EMAIL PROTECTED] / 2002-12-02 16:36:21 +0100:
> On Mon, 2 Dec 2002, [iso-8859-9] Malik Bülent wrote:
>
> > On Freebsd4.x
> > I have a file. I want to change some expressions with new ones
> > For example a file
> > touch /var/qmail/1
> > touch /var/qmail/2
> > touch /var/qmail/3
> > touch /
On Mon, 2 Dec 2002, [iso-8859-9] Malik Bülent wrote:
> On Freebsd4.x
> I have a file. I want to change some expressions with new ones
> For example a file
> touch /var/qmail/1
> touch /var/qmail/2
> touch /var/qmail/3
> touch /var/qmail/4
> touch /var/qmail/5
> touch /var/qmail/6
> I want to
# [EMAIL PROTECTED] / 2002-12-02 14:20:44 +0100:
> Today Conrad Sabatier wrote:
> > Recent versions of FreeBSD now have a version of 'sed' that can do these
> > types of replacements "in place", i.e., without the need for a temporary
> > file:
>
> > sed -i -e 's/^touch /rm /' infile
>
> No. I'm p
Today Conrad Sabatier wrote:
>
> On 02-Dec-2002 Malik Bülent wrote:
> > On Freebsd4.x
> > I have a file. I want to change some expressions with new ones
> > For example a file
> > touch /var/qmail/1
> > touch /var/qmail/2
> > touch /var/qmail/3
> > touch /var/qmail/4
> > touch /var/qmail/5
>
sed -e 's/touch/rm/' FILENAME > OUTPUT_FILE
or something like,
perl -pi -e 's/touch/rm/;' FILENAME
man 1 sed for a lot more detail
- Original Message -
From: "Malik Bülent" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December
On 02-Dec-2002 Malik Bülent wrote:
> On Freebsd4.x
> I have a file. I want to change some expressions with new ones
> For example a file
> touch /var/qmail/1
> touch /var/qmail/2
> touch /var/qmail/3
> touch /var/qmail/4
> touch /var/qmail/5
> touch /var/qmail/6
> I want to change "touch" wi
Today Malik Bülent wrote:
> On Freebsd4.x
> I have a file. I want to change some expressions with new ones
> For example a file
> touch /var/qmail/1
> touch /var/qmail/2
> touch /var/qmail/3
> touch /var/qmail/4
> touch /var/qmail/5
> touch /var/qmail/6
> I want to change "touch" with "rm"
>
On Mon, 2 Dec 2002, [iso-8859-9] Malik Bülent wrote:
> On Freebsd4.x
> I have a file. I want to change some expressions with new ones
> For example a file
> touch /var/qmail/1
> touch /var/qmail/2
> touch /var/qmail/3
> touch /var/qmail/4
> touch /var/qmail/5
> touch /var/qmail/6
> I want to
On Freebsd4.x
I have a file. I want to change some expressions with new ones
For example a file
touch /var/qmail/1
touch /var/qmail/2
touch /var/qmail/3
touch /var/qmail/4
touch /var/qmail/5
touch /var/qmail/6
I want to change "touch" with "rm"
How can i replace a newones in stead of a lot of
14 matches
Mail list logo