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
Try this:
perl -pli -e 's/.txt/=/' input_file
Search for 'How to replace some string in file' topic in same mailing list
for more info.
Thanks and Best regards,
~ Rajnikant
Software Engg.
Persistent Sys. Ltd.
Ph. +91 98222 04088
-Original Message-
From: Gowri Chan