[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] deleting a line again



On Tue, Feb 08, 2000 at 03:36:13PM -0800, george rosenberg wrote:
> 
> let me explain further, what I am probably trying to ask:
> almost always, the line i want to remove is the first line in the 
> file and it begins with a ">".
> i want to remove this line and then close the file.
> 
> is it possible to do this? is there a delete line command, that will 
> remove the line and not leave a empty line behind?
> 

perlfaq5:

How do I change one line in a file/delete a line in a file/insert a line in
the middle of a file/append to the beginning of a file?

Ronald

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org