*BSD News Article 12693


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!uunet!enterpoop.mit.edu!ai-lab!hal.gnu.ai.mit.edu!mycroft
From: mycroft@hal.gnu.ai.mit.edu (Charles Hannum)
Newsgroups: comp.os.386bsd.development
Subject: Re: A challenge to all true kernel hackers - conditional symlinks.
Date: 10 Mar 1993 16:52:08 GMT
Organization: /etc/organization
Lines: 17
Message-ID: <1nl6boINNbpu@life.ai.mit.edu>
References: <JKH.93Mar9214944@whisker.lotus.ie> <CGD.93Mar9185827@eden.CS.Berkeley.EDU> <avalon.731770107@coombs>
NNTP-Posting-Host: hal.ai.mit.edu


In article <avalon.731770107@coombs> avalon@coombs.anu.edu.au (Darren
Reed) writes:
>
> $VAR - env var name holding actual value
> #!path - execute this to get name
> name - ordinary link

s/#!path/$(path)/

It is probably better (read: easier in terms of parsing, and less
likely to break Emacs) to use the psh syntax for process substitution.

-- 
 \  /   Charles Hannum, mycroft@ai.mit.edu
 /\ \   PGP public key available on request.  MIME, AMS, NextMail accepted.
Scheme  White heterosexual atheist male (WHAM) pride!