Microsoft
Software
Hardware
Network
Question : Perl one liner to read from file
I have a file that contains paths to files in out CVS such as:
/production/interface/help
/test-1.ht
ml
/production/interface/help
/test-2.ht
ml
/production/interface/help
/test-3.ht
ml
/production/interface/help
/test-4.ht
ml
/production/interface/help
/test-5.ht
ml
I need to run the following command on each of the files in the list.
Example:
cvs checkout -p /production/interface/help
/
test-1.h
tml
>
test-1.html
so need to take the file path from the file and then direct it to a file using the file name from the file in the file name and path.
I could do a simple "for i in";do.......
but using that my $i is the full path where I need to direct the checked out file to just the file name, so not getting that to work.
I've tried to sort out a one liner I can do it with Perl but not getting that to work as well, should be a hard thing to do.
Any help or suggestions would be appreciated.
Thanks,
Answer : Perl one liner to read from file
why not just host the mail for 1234.com on your exchange server?
Random Solutions
Intermittent internet connectivity for PCs in small remote office
Pass recordset from local sql server to remote sql server using access adp
How can I copy a range of cells in a worksheet to another area in the same worksheet based off of the value of a cell in Excel 2007?
Cisco Unity Express to Trigger MWI on overlay DN
Exhange 2003 mailbox permissions
OCS Edge Server R2 2007
Intel Sata RAID controller on RHEL 4 problem
Windows 7 Sounds Controls (device at Volume 0 but can still hear)
Sharepoint Webpart page load event issue
AJAX Refresh on Submit of Pop Up Window