Terminé

Add ID Number to EBCDIC file

I have a series of files that have header and detail rows in them. In order to associate the detail lines with the header lines I need to add an ID to them.

The sample file is attached (in raw EBCDIC) form.

The script will need to read the input file line by line. I will then output a new file with the ID Number inserted at the start of each line. The ID will be a 10 digit integer. I will need the ability to pass the starting ID number in the command line.

The command will look something like:

script <input file> <output file> <starting ID>

The ID number will increment by one every time the first four bytes of a line are hex: D7 F1 C1 40

This will be run from a linux CLI. It can be written in PHP, Perl, or C/C++

Compétences : Bureau Windows

en voir plus : raw file, f1, CLI , c1, add number, windows 2012 perl, number look, windows command script, perl add header line file, php cli, command line written, ebcdic, windows form sample, order increment, perl add header line, perl script input, perl header line, time series script, perl add line header, php form input file

Concernant l'employeur :
( 66 commentaires ) Gilbert, United States

Nº du projet : #2735189

Décerné à:

alexwww

See private message.

%selectedBids___i_sum_sub_7% %project_currencyDetails_sign_sub_8% USD en 3 jours
(3 Commentaires)
2.9

4 freelance font une offre moyenne de $100 pour ce travail

totosugito

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(20 Commentaires)
3.7
dpune

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(11 Commentaires)
3.1
vw7919458vw

See private message.

%bids___i_sum_sub_35% %project_currencyDetails_sign_sub_36% USD en 3 jours
(0 Commentaires)
0.0