30 Jan
2014
30 Jan
'14
10:35 a.m.
Enjoy - just keep adding subs for each bird
#!/usr/bin/perl system("rm /maint/scripts/keps/*.txt"); system("wget http://www.celestrak.com/NORAD/elements/amateur.txt"); system("wget http://www.celestrak.com/NORAD/elements/cubesat.txt"); system("wget http://www.celestrak.com/NORAD/elements/weather.txt"); system("cat /maint/scripts/keps/*.txt > /maint/scripts/keps/total_keps.txt"); open (outfile,"> /maint/scripts/keps/final_keps.txt"); open (keps,"/maint/scripts/keps/total_keps.txt"); while (<keps>) { if (m/VO-52/) { print outfile $_; $next_line = <keps>; print outfile $next_line; $next_line = <keps>; print outfile $next_line; } } close (outfile);
3904
Age (days ago)
3904
Last active (days ago)
0 comments
1 participants
participants (1)
-
Andrew Rich