in reply to Re^2: To print the file in spool with the new format of input file also
in thread To print the file in spool with the new format of input file also
what is unless ($basename= .............is doing?# # Care needs to be taken as the full file name (containing the path) i +s # sent to the RPM server. # # Validate Filename Structure unless ($basename =~ /^(.{4}|.{10})_(.{10})_(.{8})_(.{6})_(.{10})_(.{8 +})\.(.{3})(\.gz)?$/) { if ((system @COPY, $filename, sprintf "%s%s%s%s", $UNHANDLED, $del +imiter, $basename, $dupe_extn) == 0) { abort __LINE__,"bad filename '$filename', moved to unhandled d +irectory"; } else { abort __LINE__,"failed to move unhandled file '$filename'!"; } } else { # # File Name Format Fits # ($issuercode, $outputname, $date, $time, $userid, $sequenceno, $fi +letype) = ($1, $2, $3, $4, $5, $6, $7); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: To print the file in spool with the new format of input file also
by AppleFritter (Vicar) on Oct 15, 2015 at 10:34 UTC | |
|
Re^4: To print the file in spool with the new format of input file also
by Laurent_R (Canon) on Oct 15, 2015 at 08:47 UTC | |
|
Re^4: To print the file in spool with the new format of input file also
by soonix (Chancellor) on Oct 15, 2015 at 14:18 UTC |