Angharad has asked for the wisdom of the Perl Monks concerning the following question:
I was wondering how to print just this from it/home/users/me/proteins/1hc9.txt /home/users/me/proteins/193l.txt /home/users/me/proteins/1trz.txt /home/users/me/proteins/2psg.txt etc ...
I have thought about substring but the problem with that is that its very specific isnt it, so if I changed my directories at all, I would have to modify the substring command each time. That is what I usually do, but wondered if there was a better way of doing this.1hc9.txt 193l.txt 1trz.txt 2psg.txt etc
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: extracting data
by Corion (Patriarch) on Nov 10, 2005 at 12:23 UTC | |
|
Re: extracting data
by pboin (Deacon) on Nov 10, 2005 at 12:45 UTC | |
|
Re: extracting data
by g0n (Priest) on Nov 10, 2005 at 12:23 UTC | |
|
Re: extracting data
by Samy_rio (Vicar) on Nov 10, 2005 at 12:26 UTC | |
|
Re: extracting data
by Roy Johnson (Monsignor) on Nov 10, 2005 at 14:19 UTC | |
|
Re: extracting data
by davidrw (Prior) on Nov 10, 2005 at 13:07 UTC | |
|
Re: extracting data
by snowhare (Friar) on Nov 10, 2005 at 13:04 UTC | |
|
Re: extracting data
by reasonablekeith (Deacon) on Nov 10, 2005 at 14:27 UTC | |
|
Re: extracting data
by blazar (Canon) on Nov 10, 2005 at 14:40 UTC |