Re: where is python on linux?

2007-01-07 Thread Sebastian Busch
Frank Potter wrote: > ... where is the executable python file? ... does whereis python tell you what you want to know? sebastian. -- http://mail.python.org/mailman/listinfo/python-list

Re: To remove some lines from a file

2006-10-26 Thread Sebastian Busch
Chetan wrote: > Sebastian Busch <[EMAIL PROTECTED]> writes: > >> Steve Holden wrote: >>> Sebastian Busch wrote: >>>> [EMAIL PROTECTED] wrote: >>>>> ... I would like to remove two lines from a file. ... >>>> ... grep -v ... >&g

Re: To remove some lines from a file

2006-10-25 Thread Sebastian Busch
Steve Holden wrote: > Sebastian Busch wrote: >> [EMAIL PROTECTED] wrote: >>> ... I would like to remove two lines from a file. ... >> ... grep -v ... > ... show ... grep -v "`grep -v "commentsymbol" yourfile | head -2`" yourfile i frankly admit

Re: To remove some lines from a file

2006-10-25 Thread Sebastian Busch
[EMAIL PROTECTED] wrote: > ... I would like to remove two lines from a file. > ... I am quite new myself -- but wouldn't grep -v do that easier (and perhaps faster)? Greetings, Sebastian. -- http://mail.python.org/mailman/listinfo/python-list