Jonathan Ohcamac (setm_ctrll) wrote,
Jonathan Ohcamac
setm_ctrll

Another tiny perl script

===prefix===
#!/usr/bin/perl -w
if ($#ARGV < 0){
    print STDERR "Usage:  | $0 \n";
    exit(1);
}
while(){
    print "@ARGV$_";
}

I used it for background 'tail -f bochsout.txt | prefix "bochsout: "'
Subscribe
  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments