|
|
| XP is just a number | |
| PerlMonks |
Re^5:Sorting names using Regular Expressions and placing them in different Files.by Kiran Kumar K V N (Initiate) |
| on Jan 03, 2007 at 11:11 UTC ( [id://592779]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
There is a File <Input>. Following is the data in the Input File :- -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 3 02:06 BSC-20041202143000 -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 4 23:00 BSC-20041204110000 I can extract this and place the data in corresponding Output File viz.:- BSC. The O/P in File BSC is also shown as :- -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 3 02:06 BSC-20041202143000 -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 4 23:00 BSC-20041204110000 Now how do I get the following Output from the same above Input File :- -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 3 02:06 BSC-20041202143000 -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 3 02:06 20041202143000 -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 4 23:00 BSC-20041204110000 -rw-rw-rw- 1 bsmbin bsmbin 303 Dec 4 23:00 20041204110000 How should I go about it ??
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||