|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| ARCHIVES - Programming & Scripting A place to discuss website design, programming, shell scripts, etc |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello friends,
this is yerra i am using openSUSE10.3,i am getting problems with regular expressions in shell,regular expresions are Not working for shell based commands as comapared to Fedora ex:-man pthread_mutex* should giveone among the man pages for the functions like pthread_mutex_lock etc. Kindly give the solution |
|
|||
|
Doesn't work that way because REs are evaluated wrt the filesystem.
pthread_mutex* is not a file, it is the name of a man page. So there is no list of filenames to evaluate the RE against. |
|
|||
|
For 'man' the usable option is apropos, see 'man man'.
Code:
~> man -k pthread_mutex pthread_mutex_destroy (3p) - destroy and initialize a mutex pthread_mutex_getprioceiling (3p) - get and set the priority ceiling of a mutex (REALTIME THREADS) pthread_mutex_init (3p) - destroy and initialize a mutex pthread_mutex_lock (3p) - lock and unlock a mutex pthread_mutex_setprioceiling (3p) - get and set the priority ceiling of a mutex (REALTIME THREADS) pthread_mutex_timedlock (3p) - lock a mutex (ADVANCED REALTIME) // more and more lines follow ~> |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|