The stupid question is the question not asked | |
PerlMonks |
Re: unhead and untailby dmitri (Priest) |
on Apr 15, 2003 at 19:54 UTC ( [id://250662]=note: print w/replies, xml ) | Need Help?? |
A couple of thoughts:
The cutting up of input stream as you describe can be much done much easier with sed, for instance, instead of do Also, neither head nor tail modify files they operate on. I understand, you were probably solving a specific problem, but this script can be generalized even more.
In Section
Code Catacombs
|
|