Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!elroy.jpl.nasa.gov!swrinde!mips!daver!leadsv!pyramid!ctnews!mitisft!dold From: dold@mitisft.Convergent.COM (Clarence Dold) Newsgroups: comp.unix.questions Subject: Re: What does this sh script line do? Message-ID: <2142@mitisft.Convergent.COM> Date: 12 Jun 91 04:22:47 GMT References: <1991Jun11.045504.26169@thunder.mcrcim.mcgill.edu> Organization: Unisys Unix Systems Group, San Jose, CA Lines: 16 in article <1991Jun06.172119.19494@ka3ovk>, albers@ka3ovk (Jon Albers) writes: > . ${NEWSCONFIG-/usr/lib/news/bin/config} > It blows up on this line with the error 'Bad substitution', however, > under SCO UNIX, it work just fine. What is it supposed to be doing? Isn't the correct syntax ":-" ? My shell likes it with or without the : . ${NEWSCONFIG:-/usr/lib/news/bin/config} ^ | -- --- Clarence A Dold - dold@tsmiti.Convergent.COM ...pyramid!ctnews!tsmiti!dold