home bbs files messages ]

Just a sample of the Echomail archive

Cooperative anarchy at its finest, still active today. Darkrealms is the Zone 1 Hub.

   LINUX-UBUNTU      The Ubuntu Linux Distribution Discussion      10,769 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 7,769 of 10,769   
   ts_0053NO@SPAMyahoo.com to All   
   Re: 6.10 defaults to "dash" for shell?   
   17 Jan 07 21:36:56   
   
   Path: number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.co   
   !nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.pcisys.net   
   news.pcisys.net.POSTED!not-for-mail   
   NNTP-Posting-Date: Wed, 17 Jan 2007 20:36:55 -0600   
   From: ts    
   Subject: Re: 6.10 defaults to "dash" for shell?   
   Newsgroups: alt.os.linux.ubuntu   
   References:    
       
       
       
       
       
    <515bbdF1ir5g8U1@mid.individual.net>   
       
       
   User-Agent: pan 0.120 (Plate of Shrimp)   
   MIME-Version: 1.0   
   Content-Type: text/plain; charset=UTF-8   
   Content-Transfer-Encoding: 8bit   
   Message-ID:    
   Date: Wed, 17 Jan 2007 20:36:55 -0600   
   Lines: 18   
   NNTP-Posting-Host: 206.53.23.166   
   X-Trace: sv3-0GVJKWRPcySifTvleyqZ9EUDycjlVH2OUTju7Av2+hhPFFZC/b/   
   fs10m9JAdA5hLfve0qpjjwKzMPZ!D6sZUz7KVzntgv2HH5RdINj1FaH+oxZdkIf0   
   UBRYdYwJT5fjWbP5wX7wGHAY/QX+Xhwgi5An912!qFoWD1u3Aw==   
   X-Complaints-To: abuse@pcisys.net   
   X-DMCA-Complaints-To: abuse@pcisys.net   
   X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers   
   X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint   
   properly   
   X-Postfilter: 1.3.32   
   Xref: number1.nntp.dca.giganews.com alt.os.linux.ubuntu:8316   
      
   On Wed, 17 Jan 2007 19:33:35 +0100, mark south wrote:   
      
   > On Tue, 16 Jan 2007 22:27:58 -0600, ts wrote:   
   >    
   >> If you write a Bash   
   >> script, you should ensure that it is invoked by bash.  Writing a bash   
   >> script and expecting /bin/sh to understand it is just plain broken.   
   >    
   > Indeed.  But writing bash and requiring bash alone is clearly a different   
   > meaning of "portable" from the one I am accustomed to, and more in line   
   > with the "embrace, extend, extinguish" philosophy of "portability".   
      
   I'm not advocating writing scripts that depend on bash-specific syntax,   
   merely accepting that they exist.  Now, back to the original topic.    
   Assume you have two bash-specific scripts, one which starts with #!/bin/sh   
   and one which starts with #!/bin/bash.  Which one is more portable?   
      
    -ts   
   --- Platinum Xpress/Win/WINServer v3.0pr5   
    * Origin: Omicron Theta BBS (1:261/20)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca