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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sort 1200 files (more than 256 caracters in my command line)

Status
Not open for further replies.

gvrgvr

Programmer
Oct 26, 2005
17
0
0
FR
i want to do 'sort -o filout filein*' with more than 1200 files that call fileinxxxxxxxx.

there are more than 256 caracters in my command line, so my command is KO.

how can i do?
thanks

 
Hi

If you can not do it with one command, do it with more.
Code:
echo filein* | xargs cat > /tmp/tobesorted
sort /tmp/tobesorted > filout
rm /tmp/tobesorted
Not tested.

Feherke.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top