in reply to Re: how to write perl scripts with below requirements
in thread how to write perl scripts with below requirements
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: how to write perl scripts with below requirements
by kcott (Archbishop) on Aug 12, 2015 at 07:10 UTC |