Thomas Bätzler wrote:
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
I facing a problem to substitute extensions of file with " = "
For example:
In a file I have names of some files
a.txt
b.txt
c.txt
I want them to
a=
b=
c=
Do you just want to change the text in that file, or is tha
Hi,
> I facing a problem to substitute extensions of file with " = "
>
>
> For example:
>
> In a file I have names of some files
>
> a.txt
> b.txt
> c.txt
>
> I want them to
>
> a=
> b=
> c=
Do you just want to change the text in that file, or is that file
a list of filenames that you want
Rajnikant wrote:
From: Gowri Chandra Sekhar Barla, TLS, Chennai [mailto:[EMAIL PROTECTED]
I facing a problem to substitute extensions of file with " = "
For example:
In a file I have names of some files
a.txt
b.txt
c.txt
I want them to
a=
b=
c=
Try this:
perl -pli -e 's/.txt/=/' in
age-
From: Gowri Chandra Sekhar Barla, TLS, Chennai [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 10, 2008 11:15 AM
To: beginners@perl.org
Subject: how to manipulate word using perl
Hi all
I facing a problem to substitute extensions of file with " = "
For example:
In a file I h
Hi all
I facing a problem to substitute extensions of file with " = "
For example:
In a file I have names of some files
a.txt
b.txt
c.txt
I want them to
a=
b=
c=
Thanks and regards
Sekhar
DISCLAIMER: