sed file processing?

Jude DaShiell <[email protected]>
Newsgroups gmane.editors.sed.user
Message-ID <[email protected]>
Is it within sed's logical capacity to check a file and only do a command 
on that file if it has at least one line of text in it?  For what I'm 
trying to do with a script, if the file has zero lines it should not have 
anything done to it.



jude <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.