linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* deleting N lines of many files
@ 2004-12-17 12:33 Fabio Zyserman
  2004-12-17 13:07 ` zavandi
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Fabio Zyserman @ 2004-12-17 12:33 UTC (permalink / raw)
  To: linux-admin

Hi all,

I have about eighty directories,
called data-nn, where nn=00,01,02,....
in each of these directories I have
among others, an (ascii) data file with many thousends
lines. This data file has the same name in all
directories.

I would like to know if it is possible,
via a bash script, to delete the first N
lines in this data file in all directories.
The modified file can overwrite the old one.

Many thanks in advance,

Fabio Zyserman


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-12-17 20:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-17 12:33 deleting N lines of many files Fabio Zyserman
2004-12-17 13:07 ` zavandi
2004-12-17 14:01 ` Yu Chen
2004-12-17 20:01 ` Jeff Woods

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).