Help for this page

Select Code to Download


  1. or download this
     usage: shar [-AabCcDdefhmorstuvZ] <file|dir> ...
     -A:             supress warning messages for optional acl entries
    ...
     -u:             assume remote site has uudecode(1) for  unpacking
     -v:             verbose mode
     -Z:             shrink files using compress(1)
    
  2. or download this
    (hpux) $ shar myfile.pl > myfile.shar
    
    ...
    Compiling unpacker for non-ascii files
    x - myfile.pl
    
  3. or download this
    #!/usr/bin/perl -w
    my $recipients = 'admin@site1 admin@site2';
    ...
    print MAIL `shar @ARGV`;
    print MAIL `cat ~/.signature`;
    close MAIL;