Patrick Nelson wrote:
> Ryan Dooley wrote:
>> Tsuyoshi Takada wrote:
>> 
>>> Hi, all
>>> 
>>> I don't know well about the following UNIX terms.
>>> Would you teach me about them?
>>> 
>>> "contrib"  ... I often see this word in ftp site.
>>> 
>>> grep(1)    ... What does the number (1) mean?
>>> 
>>> regards,
>>> 
>>> 
>>> 
>> I think "contrib" has it's roots in BSD - meaning contritubted
>> software for the BSD project.  I've seen a lot of older SunOS
>> machines and BSD machines with /usr/contrib (instead of /usr/local).
>> 
>> The (1) or (n) after a command is the section of the manual pages
>> that the actual man page can be found it.
>> 
>> For instance if you have grep(1) and grep(3) on your system, if you
>> want the manual page for the user command, type "man 1 grep".  If you
>> want the library call manual page for grep, type "man 3 grep".
>> 
> 
> GREP->General Regular Expression Print

Oops I mean Global Regular Expression Print.

For even more info... Read on!

GREP came from the first re's in a UNIX editor named ed.  The way you did
the re in ed was like:

 g/<Regular Expression>/p 

which was read Global Regular Expression Print.  It was here were re got
widespread use and because it was such a particularly useful function it was
made its own utility (which egrep -- extended grep -- was later modeled).



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to