Return to BSD News archive
Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!ersys!freddy!kevin.dawson From: kevin.dawson@freddy.ersys.edmonton.ab.ca (Kevin Dawson) Newsgroups: comp.unix.bsd Subject: AUTO question in SCRIPTS. Message-ID: <1128.969.uupcb@freddy.ersys.edmonton.ab.ca> Date: 9 Oct 92 11:15:00 GMT Reply-To: kevin.dawson@freddy.ersys.edmonton.ab.ca (Kevin Dawson) Distribution: world Organization: Freddy's Place BBS - Edmonton, AB - 403-456-4241 Lines: 47 =========================================================================== BBS: Freddy's Place Date: 09-26-89 (04:42) Number: 71 From: KEVIN DAWSON Refer#: NONE To: ALL Recvd: NO Subj: Compress -P option..how?? Conf: (71) F-Unix --------------------------------------------------------------------------- Can someone please give me an example of how TAR internally uses compress's -P option? I need an example of what a command line would look like... The Unix I'm using is 3.2.4. The book does little to explain this option; specifically, I get stuck on what they mean by a "file descriptor" in the following sentence: "If the -P fd option is specified, compress reads a list of file names from the pipe association with the file descriptor fd." (Taken from page 75 paragraph 2) I believe this command will help me store compressed files on a tape without having to first compress the files. If I'm out in left field, please suggest an alternate method. I do not want to store one big compressed file. I want to retain file names. --- . OLX 2.2 . Hope is the conviction of things to come... =========================================================================== BBS: Freddy's Place Date: 10-09-92 (10:57) Number: 71 From: KEVIN DAWSON Refer#: NONE To: ALL Recvd: NO Subj: Auto Question in Scripts Conf: (71) F-Unix --------------------------------------------------------------------------- I want to add a twist to a question I have in a shell script. Currently, it prompts the user for a Yes or No question. I want to have the script resume in 5 miniutes if there is no response. WHAT command or sequence will let me do this? Please include an example. Hopefully; Kevin Dawson --- . OLX 2.2 . Hope is the conviction of things to come...