DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 28th June 2013
thirdm thirdm is offline
Package Pilot
 
Join Date: May 2009
Posts: 198
Thanked 3 Times in 3 Posts
Default Bourne pipe operator parse ambiguity?

I'm puzzled by this statement: "It is remarkable that in the four most recent editions of the UNIX system programmer’s manual the Bourne shell grammar described in the manual page does not admit the command who|wc. This is surely an oversight, but it suggests something darker: nobody really knows what the Bourne shell’s grammar is." -- http://doc.cat-v.org/plan_9/4th_edition/papers/rc

Reading the sh manual on NetBSD, the only other use of the pipe symbol I could find was in case statements to give multiple patterns in each alternative. I don't get what problem that could create. Does anyone know what Tom Duff is getting at?
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/rc.d/cron : need root privileges ... unexpected operator/operand daemonfowl OpenBSD Security 2 21st July 2012 03:33 PM
Write failed: Broken pipe .. while updating ports tree daemonfowl OpenBSD Packages and Ports 5 28th June 2012 12:58 AM
How do I pipe a man page into emacs for searches? OS_Stuntman FreeBSD General 9 20th November 2011 06:37 PM
Pipe grep to copy files based on name. Daffy Programming 5 28th May 2011 11:03 PM
An in-depth interview with Steve Bourne, creator of the Bourne shell, or sh J65nko Off-Topic 3 8th March 2009 01:47 AM


All times are GMT. The time now is 10:08 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick