From: Daniel Nylander Date: Thu, 13 Feb 2025 18:49:05 +0000 (+0100) Subject: Delete templates/sv/p.pl X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b641825c1a8c58fb817c6ae5800c522656d3917;p=thirdparty%2Fcups.git Delete templates/sv/p.pl --- diff --git a/templates/sv/p.pl b/templates/sv/p.pl deleted file mode 100644 index 10bdeef19c..0000000000 --- a/templates/sv/p.pl +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/perl -use strict; -use warnings; - -# Läs in hela filen frÃ¥n stdin -my @lines = ; - -foreach my $line (@lines) { - # Ta bort HTML-taggar - $line =~ s/<[^>]+>//g; - - # Ta bort allt inom { } - $line =~ s/\{.*?\}//g; - - # Ta bort   - $line =~ s/ //g; - - # Ta bort tomma rader eller rader med bara whitespace - next if $line =~ /^\s*$/; - - # Skriv ut den rensade raden - print "$line\n"; -} -