RE: [users@httpd] Delete Blank Lines In A Text File

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

 



Quoting "Wagner, Aaron" <aaron.wagner@xxxxxxxxxxxxxxxxx>:

That's nice but it doesn't fix the blank lines it just skips them in the
file parse.  I think he wants to clean the file.  If the file gets big,
he could take a performance hit skipping multiple lines.

If you ran the script you would see that the output file doesn't have the blank
lines. You can easily make the output file the same as the input file, so you
end up with a cleaned file.

I wrote & tested the script before I posted it.

Ken


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux