Well I found in the Linux cookbook that the tool I need is sed and was
able to find a way to cut the pieces I need.

wrong tools but now a happy camper, sorta.

I want to the sed script to all the files in a directory.
sed '1,5d' 425-defs.ly > 425n.ly  

removed the first 5 lines, which is what I really needed.
but how do I put this in a script which will apply it to all files in a
directory?

Thanks,
Aaron




> I find often that I want to use standard tools to do a simple
repetitive
> task but can't conceptualize the way to achieve it.
> 
> 
> I have 20 text files with text to delete on top and on bottom.
> 



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to