Article View: comp.sys.mac
Article #15503Re: xbin is great, but it could be even better...
From: earleh
Date: Sat, 11 Apr 1987 01:55
Date: Sat, 11 Apr 1987 01:55
29 lines
2124 bytes
2124 bytes
In article <1280@midas.TEK.COM>, herbw@midas.TEK.COM (Herb Weiner) writes:
> ...there could be a switch so that xbin would perform a macput
> immediately after converting the file.
> ...
If you put the following two lines in your .cshrc, you can use them
to a) determine the base of the filename that the ".info, .etc" files
will have after xbin is used on the binhexed file and b) xbin the
file, send it to your Mac using macput, prompt you for permission
to delete the xbined files afterwards. Use of these aliases keeps
your disk usage down, since only the binhexed file exists on the
UNIX file system for any appreciable length of time. This keeps
system managers friendly.
Usage:
a) macname file.hqx
b) macdl file.hqx
alias macname 'xbin -l \!*|grep macname|tr \\40 _|sed s/macname._//'
alias macdl 'xbin \!*;macput `macname \!*`;rm -i `macname \!*`.*'
-----------------------------------------------------------------------------
Copyright 1987 by Earle R. Horton, B.Sc. All Rights Reserved. This material
may be redistributed only where such redistribution is without charge and
without restrictions on further redistribution. Incorporation of this
material in a compilation or other collective work constitutes permission
from the intermediary to all recipients to freely redistribute the entire
collection. All other uses are prohibited.
-----------------------------------------------------------------------------
Technical Details
Message-ID:
<5993@dartvax.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!dartvax!earlehReferences:
<1280@midas.TEK.COM>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watnot!watmath!clyde!rutgers!sri-spam!ames!ucbcad!ucbvax!decvax!dartvax!earleh From: earleh@dartvax.UUCP Newsgroups: comp.sys.mac Subject: Re: xbin is great, but it could be even better... Message-ID: <5993@dartvax.UUCP> Date: Fri, 10-Apr-87 20:55:54 EST Article-I.D.: dartvax.5993 Posted: Fri Apr 10 20:55:54 1987 Date-Received: Sat, 11-Apr-87 21:33:25 EST References: <1280@midas.TEK.COM> Organization: Society for the Prevention of Cruelty to Graduate Students Lines: 29 Keywords: xbin, suggestions for improvement Summary: How about this?