![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Checking the Empty line in csv file | sollins | Shell Programming and Scripting | 4 | 05-15-2008 04:48 AM |
| Re-write first line of a file before printing | alexop | Shell Programming and Scripting | 2 | 05-06-2008 05:36 AM |
| How to check for empty file in Perl? | deepakwins | UNIX for Dummies Questions & Answers | 1 | 03-04-2008 11:00 AM |
| Printing a Line from a file | Nysif Steve | UNIX for Dummies Questions & Answers | 4 | 08-31-2007 04:58 AM |
| printing a line of a file | clay | UNIX for Dummies Questions & Answers | 6 | 12-15-2000 01:24 PM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
printing an empty line in a file (perl)
I know this must be really easy, but i can't get it to work
I've got a perl script, with a file. I want to print an empty line, and the following doesn't seem to work: print nameoffile "\n" thanks for your help!! |
| Forum Sponsor | ||
|
|
|
|||
|
thanks, that works, but it doen't when i open a file this way
open(FHConfi,"+< $CONFDIR/minstalador.conf"); (+< means:: +>$file&path Read, Write, Create, overwrites rather then appending.) How could i write an empty line then?? thanks |