comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: unix/idl question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: unix/idl question [message #67104] Mon, 22 June 2009 09:08 Go to previous message
Carsten Lechte is currently offline  Carsten Lechte
Messages: 124
Registered: August 2006
Senior Member
a wrote:

> spawn,'cd temp'
> spawn,'ls -l | grep raw | awk '{print $9}' | xargs rm '

spawn, 'cd temp ; ls -l | ...'

this way, the cd and the ls happen in the same spawn-process. You
could also do 'ls temp | grep raw$ | xargs rm', or use find, as someone else has
suggested.


chl
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: unix/idl question
Next Topic: Centering Image

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:52:46 PDT 2025

Total time taken to generate the page: 0.00397 seconds