home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.graphics.gnuplot
- Path: sparky!uunet!nih-csl.dcrt.nih.gov!helix.nih.gov!rvenable
- From: rvenable@helix.nih.gov (Richard M. Venable)
- Subject: Re: Comment on GnuPlot V3.2 (under Unix)
- Message-ID: <1992Nov5.194056@helix.nih.gov>
- Sender: postman@alw.nih.gov (AMDS Postmaster)
- Reply-To: rvenable@helix.nih.gov (Richard M. Venable)
- Organization: National Institutes of Health
- References: <921105105653.1747@CUCCFA.CCC.COLUMBIA.EDU>
- Date: Fri, 6 Nov 1992 00:40:56 GMT
- Lines: 44
-
- In article <921105105653.1747@CUCCFA.CCC.COLUMBIA.EDU>,
- MARK@CUCCFA.CCC.COLUMBIA.EDU (T. Mark Reboul) writes:
- |> I have however noted just one minor thing which seems to me like a
- |> deficiency.... I don't know how easy this would be to change, but it
- |> would be useful if the user could enter a "cd" command of the form:
- |>
- |> cd "~username/whatever"
- |>
- |> The tilde spec doesn't seem to be allowed. (Am I doing something
- wrong?)
-
- The tilde is a construct of the C shell (/bin/csh), and is not
- recognized
- by system calls requiring a pathname. In some of our programs here at
- NIH
- we substitute the value of the env var HOME for the tilde, which would
- permit cd "~/whatever" but not the above syntax.
-
- |> I also noticed that even this command:
- |>
- |> ! cd ~username
- |>
- |> doesn't work, as the "system" function call generated by my command
- |> won't handle the tilde.
-
- The above should work if /bin/csh is your login shell; however, the !
- operation spawns a new subshell, so that even if you do change
- directories,
- as soon as the subshell exits, you're back in the directory you were in
- before.
-
-
- <---------------------------------------------------------------------->
- >
- < Rick Venable (O O) | "Back off, I'm a scientist."
- >
- < FDA/CBER Biophysics Lab )|( | -- Bill Murray in
- >
- < rvenable@helix.nih.gov (=) | 'Ghostbusters'
- >
- <---------------------------------------------------------------------->
- >
-
-
-