Penny Arcade
The Trenches
PAX
Child's Play
Pinny Arcade
Sign In
Join Club PA
Penny Arcade
Comics
News
PATV
Podcasts
Archive
Forum
Shop
Best Of...
Sign In
·
Register
Penny Arcade Forums
›
Help / Advice Forum
Quick Links
Categories
Recent Threads
Best Of...
The Coin Return Foundational Fundraiser is
here! Please donate!
quick linux help
clsCorwin
Registered User
regular
April 2009
edited April 2009
in
Help / Advice Forum
So I'm writing a python script, and part of it echos a command to be executed, pipes that into sort, which in turn I need piped into a file. Do I just do <command> | sort n | <filename>?
See how many books I've read so far in 2010
clsCorwin
on
April 2009
0
Posts
Improvolone
Registered User
regular
April 2009
edited April 2009
There is a very active Linux thread in the tech subforum, you might get a faster response over there.
Improvolone
on
April 2009
Voice actor for hire.
My time is free if your project is!
0
clsCorwin
Registered User
regular
April 2009
edited April 2009
Mm, thanks. Don't pop in there too often.
clsCorwin
on
April 2009
See how many books I've read so far in 2010
0
ecco the dolphin
Registered User
regular
April 2009
edited April 2009
... sort n > filename
or:
... sort n >> filename
if you want to append to the end of the file.
Edit: Oh man, well beaten by the Linux thread.
ecco the dolphin
on
April 2009
Penny Arcade Developers at
PADev.net
.
0
clsCorwin
Registered User
regular
April 2009
edited April 2009
But thanks nonetheless
clsCorwin
on
April 2009
See how many books I've read so far in 2010
0
Sign In
or
Register
to comment.
Penny Arcade Forums
›
Help / Advice Forum
Powered by Vanilla
Posts
See how many books I've read so far in 2010
or:
... sort n >> filename
if you want to append to the end of the file.
Edit: Oh man, well beaten by the Linux thread.
See how many books I've read so far in 2010