Path: utzoo!utgpu!water!watmath!clyde!cbosgd!osu-cis!tut!lvc From: lvc@tut.cis.ohio-state.edu (Lawrence V. Cipriani) Newsgroups: comp.unix.wizards Subject: Re: PS1 and PWD in david korn's shell Summary: grave accent Message-ID: <3364@tut.cis.ohio-state.edu> Date: 18 Dec 87 21:50:47 GMT References: <2042@ttrdc.UUCP> ... Distribution: na Organization: Ohio State Computer & Info Science Lines: 19 In article <2042@ttrdc.UUCP>, levy@ttrdc.UUCP (Daniel R. Levy) writes: ... > This won't work with older k shells (the syntax VARIABLE=$(command) that is). > Was there any particular reason to use (/bin/pwd) instead of `/bin/pwd`? > Dan Levy Just insurance since according to Dave Korn the grave accent notation, ie `cmd`, is obsolete, and will probably be removed in a future version of ksh. Personally, I like the grave accent notation for quick command line stuff and like the $(cmd) notation for scripts. My hangup with ksh is that you cannot manipulate arguments to an alias. I asked Dave Korn about adding this. His response was that he had considered it, however, his implementation would have to change drastically. For example, command line size would be much more limited. -- Larry Cipriani AT&T Network Systems at cbosgd!osu-cis!tut!lvc Ohio State University