help: perl command line, especially what does '%1.txt' mean

Status
Not open for further replies.

Robert Qi

Member level 2
Joined
Sep 24, 2005
Messages
49
Helped
3
Reputation
6
Reaction score
1
Trophy points
1,288
Location
Shenzhen, P.R China
Activity points
1,689
help: perl command line

Hi,
Anyone can explain the below perl command line? .

c:\>perl -p -i[bak] -e "s/mybook/book/;" %1.txt

Especially, what does '%1.txt' mean?

Thanks in advance
Robert
 

Re: help: perl command line

:| oop, no one gives help, but fortunately I get the answer by myself.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…