[linux] Re: Naam van manpage synopsis notatie

Jelle Boomstra nllgg op nietsch.dds.nl
Vr Jan 28 09:54:00 CET 2005


On Friday 28 January 2005 03:13, Hans Rood wrote:
> > Als ik echter naar wat BNF uitleg op het internet kijk ziet dat er
> > niet echt manpage-rerigs uit. Worden er in een manpage meer
> > constructies dan command [optie] {sluit|elkaar|uit} verplicht
> > gebruikt?
>
> Zie man(7), paragraaf synopsis. Daar wordt deze uiterst eenvoudige
> syntax voor het unixmanual gedefinieerd. Backus-Naur is veel
> ingewikkelder.

Ik neem aan dat je man 7 man bedoeld? die geeft inderdaad deze beknopte 
synopsis van de synopsis syntax:)

Synopsis       briefly describes the command or function's  inter-
                     face.   For  commands, this shows the syntax of the
                     command  and  its  arguments  (including  options);
                     boldface  is  used  for  as-is text and italics are
                     used to indicate  replaceable  arguments.  Brackets
                     ([]) surround optional arguments, vertical bars (|)
                     separate  choices,  and  ellipses  (...)   can   be
                     repeated.   

Ja alles staat daar wel. De boldface en italics verbazen me een beetje; dat 
heb ik nog nooit in een terminal venster gezien. Maar dat wil ik wel 
aannemen, manpages waren eens om uit te printen heb ik mij onlangs laten 
vertellen.  

-- 
met vriendelijke groeten,
Jelle Boomstra

In theory theory and practice are equal, 
however, in practice they differ.



More information about the Linux mailing list