Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^2: how to write perl scripts with below requirementsby Laurent_R (Canon) |
on Aug 11, 2015 at 08:38 UTC ( [id://1138123]=note: print w/replies, xml ) | Need Help?? |
You originally posted a single block of undifferentiated text. You've now changed that to be five separate paragraphs.It seems that the OP turned it back to a single block of undifferentiated text. This is what I can see as of the time of this post: I have 3 file's like below in '/developer/ram/inbox' folder file1:-NVA_CUTSTD10-INF-20150701.txt file2:-NVA_CUTSTD10-INF-20150716.txt file3:-NVA_CUTSTD10-INF-20150801.txt please help to write Perl scripts that will pickup old file1'NVA_CUTSTD10-INF-20150701.txt' and then it need create below .txt.trig file like below file name:- NVA_CUTSTD10-INF-20150701.txt.trig and the file contain cat NVA_CUTSTD10-INF-20150701.txt.trig output:-NVA|NVA_CUTSTD10-INF-20150701.txt|2015-08-10|9756||||||| .txt.trig contains as follows:- 1. nva :- project name 2.file name:-'NVA_CUTSTD10-INF-20150701.txt 3.date:-current date 4.file count:-9756 5.|||||| default fields need to pass.Strange, isn't it?
In Section
Seekers of Perl Wisdom
|
|