jsonfmt.py: Don't sort the JSON, use the new -s/--sort option for that
[sunny256-utils.git] / urlstrip
blob0827c75866187434dab9b2d98ce63452974fd606
1 #!/usr/bin/env perl
3 #==============================================================================
4 # urlstrip
5 # File ID: d58ab23a-5d47-11df-a6aa-90e6ba3022ac
6 # Plukker ut urler fra en fil til bruk for sjekking av linker med wget --spider
7 #==============================================================================
9 use strict;
10 use warnings;
12 while(<>) {
13 chomp;
14 if (/(http\S+?)"/i) {
15 my $Curr = $1;
16 $Curr =~ s/&amp;/&/g;
17 print("$Curr\n");