Quantcast
Viewing all articles
Browse latest Browse all 4

linux unwrap text file

linux unwrap text file

I spent forever trying to figure out how to unwrap an apache access_log that was splitting requests between two lines. I finally found the answer!

Create a perl script called unwrap.pl and run the script like this:

# perl unwrap.pl access_log > accesslog2 #!/bin/env perl use strict; my $sentinel = 0; my $previous_line; my $result . . . → Read More: linux unwrap text file

Brakertech - tech problems: solved


Viewing all articles
Browse latest Browse all 4

Trending Articles