Microsoft
Software
Hardware
Network
Question : Unix Perl or Shell script to split a data file by header+trailer
Need a Perl (or even a Shell is fine) to split a data file as follows :
./perl_script datafile
will produce sntci1.dat sntci2.dat, ..... sntciX.dat
leaving the original datafile intact
where the datafile name is passed as a parameter to the script.
The criteria for splitting the datafile is the header/trailer pair
of 001sntci - 999sntci .
Eg:
001sntci.....
record1a ...
......
recordXa ...
999sntci....
001sntci ....
record1b ...
...
recordXb ...
999sntci ...
will produce
sntci1.dat:
========
001sntci.....
record1a ...
......
recordXa ...
999sntci....
and
sntci2.dat:
========
001sntci ....
record1b ...
...
recordXb ...
999sntci ...
Answer : Unix Perl or Shell script to split a data file by header+trailer
This is probably a dredded corrupt Outlook profile. Have you tried re-creating your Outlook profile from the mail applet in the control panel?
Random Solutions
AIX DB2 error
what is the best linux distro and ide for web programming (PHP) ?
Win 7 Pro Virtual Pc XP Mode visible in the network but not accessible
Windows 2008R2 static ports for ntds/rpc/ntfrs
802.1q trunk
ID3 algorithm implementation in JAVA or c++
Starting letters with XXX
IDE / Sata Connections
Install 2nd insatnce of MS SQL 2008
PHP MySQL SELECT OPTGROUP parent value