Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

help needed

Status
Not open for further replies.

vaen

Technical User
May 26, 2005
2
FR
hello
i need help to print with sorting

My input file is as follows:
date name adresse dateofbirth city pin societe service
270505 xxx xxx dd/mm/yyyy zz 11111 ssssss uuuuu
270505 xxx xxx dd/mm/yyyy zz 11111 pppppp ttttt
270505 xxx xxx dd/mm/yyyy zz 22222 ssssss uuuuu
270505 xxx xxx dd/mm/yyyy zz 11111 rrrrrr vvvvv
270505 xxx xxx dd/mm/yyyy zz 11111 ssssss uuuuu
270505 xxx xxx dd/mm/yyyy zz 44444 pppppp ttttt
270505 xxx xxx dd/mm/yyyy zz 66666 pppppp ttttt

i need to create a new output file
ssssss uuuuu
270505 270505 270505
xxx xxx xxx
xxx xxx xxx
dd/mm/yyyy dd/mm/yyyy dd/mm/yyyy
zz 11111 zz 22222 zz 11111


270505 270505 270505
xxx xxx xxx
xxx xxx xxx
dd/mm/yyyy dd/mm/yyyy dd/mm/yyyy
zz 11111 zz 11111 zz 11111

(skip page )
pppppp ttttt
270505 270505 270505
xxx xxx xxx
xxx xxx xxx
dd/mm/yyyy dd/mm/yyyy dd/mm/yyyy
zz 11111 zz 44444 zz 66666

etc

thks a lot





 
And what have you tried so far ?
Tip: have a look at associative array.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top