In bash, how do I use grep to find a certain function from the output of perldoc? -


so want find built in function perl. running ubuntu, run line in terminal:

$ perldoc perlfunc | grep "map" 

but don't documentation function, using grep wrong?

grep finds individual lines, won't much.

use e.g.

perldoc -f map 

to see doc given built-in.

(and perldoc perldoc see doc perldoc.)


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

sql server - SQL Query returns one result, does not return 0 or NULL result -