Jul 11, 2006 #1 gvrgvr Programmer Oct 26, 2005 17 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
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
Jul 11, 2006 #2 feherke Programmer Aug 5, 2002 9,540 RO 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. http://rootshell.be/~feherke/ Upvote 0 Downvote
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. http://rootshell.be/~feherke/