Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
>
Hi
John thanks for replay, script is working fine
I am unable to understand following expression
s!/\*.*?(?:\*/|$)!!,
[snip]
Gowri, and everybody, /please/ bottom-post your replies to this list.
This has been getting out of hand recently, and
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
From: John W. Krahn [mailto:[EMAIL PROTECTED]
$ echo "
/* requesting for the script
* more
* and more
* for printing line number */
Fun_script()
{
Int a; /* local parameter */
Int b; /* local parameter */
/* adding the
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
From: John W. Krahn [mailto:[EMAIL PROTECTED]
$ echo "
/* requesting for the script
* more
* and more
* for printing line number */
Fun_script()
{
Int a; /* local parameter */
Int b; /* local parameter */
/* adding the
! and ?:
Thanks and regards
Gowri
-Original Message-
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2008 9:09 PM
To: Perl Beginners
Subject: Re: reg help: printing line numbers in file
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
>
> From: John W. Krahn [
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
From: John W. Krahn [mailto:[EMAIL PROTECTED]
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
Can any one please give the scripting for appending line numbers for
the code lines
For example:
/* requesting for the script
* for printing lin
If you are using Unix and don't necessarily want it done via a Perl
script, you can just use the cat command.
cat -n
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/
Gowri Chandra Sekhar Barla, TLS, Chennai wrote:
Hi
Hello,
I am new to perl
Can any one please give the scripting for appending line numbers for the code lines
For example:
/* requesting for the script
* for printing line number */
Fun_script()
{
Int a; /* local parameter */
Int b;