View Single Post
  #1   (View Single Post)  
Old 28th June 2013
thirdm thirdm is offline
Spam Deminer
Join Date: May 2009
Posts: 234
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." --

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