wagner@iaoobelix.UUCP (04/22/87)
[ I am posting this rather than emailing it just to the auther of the article because it might be of public interest...(?) ] > /***** iaoobelix:comp.sources.w / pluto!warren / 6:13 pm Apr 17, 1987*/ > Subject: need man page for compress 4.0, et. al. ... > ...a man for > compress/decompress/zcat. Could someone please send one? I have emailed the compress*, uncompress*, and z* man pages. > While I'm at it, anyone know why the Makefile doesn't create > decompress and zcat? > > Disclaimer: I can read the source to find out how it works, I want > this for the mere mortals who work here who read manuals. My Makefile looks like ... TARGETS = compress atob btoa SCRIPTS = zmore zcmp zdiff compressdir uncompressdir tarmail untarmail all: $(TARGETS) $(SCRIPTS) ... install: $(TARGETS) $(SCRIPTS) enter -f compress compress uncompress zcat enter compressdir uncompressdir atob btoa tarmail untarmail enter zmore zcmp zdiff ... where `enter' is something like `install', using symbolic links. The -f option forces `enter' not to install a number of files but a number of likes to the same file. As you can see above, `compress', `uncompress' and `zcat' are all links to the same file (namely the one you get by compiling `compress.c'). If you disregarded your disclaimer and had a look at the code you would find at line 430 or so two strcmps determining how the program was invoked... Have fun, Juergen Wagner, (USENET) ...seismo!unido!iaoobel!wagner ("Gandalf") Fraunhofer Institute IAO, Stuttgart