Re: Stripping white space from HTML

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

 




Grant wrote:
>> > Great news!  This was fixed by changing the push line to:
>> >
>> > push @out, $_ unless /^\s*$/;
>> >
>> > Thanks a lot for everyone's help.
>>
>> A 15 byte solution. :) I expected something like that would be simpler
>> than running a separate php script to do it all. ;)
>
> Yeah, that was my fault.
>
> - Grant

dont worry about it Grant. I'm pleased you got it sorted in an elegant way!
Is the buffer line by line? Or does it miss some blank lines due to them
being "inside" a block of lines within the buffer?

-- 
Matt



---------------------------------------------------------------------
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