in reply to Skip a line
Presuming you mean *write* you can't skip lines per se. When you open a file with > it overwrites any existing data. When you open a file using >> it appends to the end of the file. These are your choices. If you want to 'skip' the first line, presumably to save it, you will need to read it in, save it, open the file for overwrite, write out the saved first line, then write out the rest of the data.
cheers
tachyon
s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Skip a line
by lisaw (Beadle) on Nov 11, 2002 at 19:02 UTC | |
by tachyon (Chancellor) on Nov 11, 2002 at 19:29 UTC |