yd: Use yt-dlp instead of youtube-dl
[sunny256-utils.git] / pakkut
blob6e48a788d4de19fb0342b9201aeeab1d8b69f944
1 #!/usr/bin/env perl
3 # pakkut
4 # File ID: 096d3c90-5d42-11df-a6c3-90e6ba3022ac
6 use strict;
7 use warnings;
9 $| = 1;
11 open(PipeFP, "| uudecode | gzip -d") or die("$0: Can't open pipe: $!\n");
12 while (<>) {
13 s/[#%";!{}]//g;
14 s/^\s+(.*)/$1/;
15 print PipeFP $_;
18 close(PipeFP);