A simple way, without any error-handling etc:
You might need to adapt the path to your screenlog-files, however.system("rm screenlog"); system("tail -n 200 screenlog.0 > screenlog");
HTH, Rata
In reply to Re: Mini bash script to perl
by Ratazong
in thread Mini bash script to perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |