[Tutor] Processing Linux command line output

bob gailer bgailer at gmail.com
Thu Apr 25 01:49:43 CEST 2013


On 4/24/2013 6:03 PM, Gareth Allen wrote:
> Hi all,
>
> I'm trying to get the output of a command and split it into a list 
> that I can process.  What is the best way to go about doing this? In 
> bash I would use tools like grep, sed awk etc.
Why do it in Python, given you already have a bash solution?

-- 
Bob Gailer
919-636-4239
Chapel Hill NC



More information about the Tutor mailing list