home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


quotewords

quotewords (

delim

, 

keep

, 

lines

)

Accepts delimiter and list of lines and breaks the lines up at occurrences of the delimiter into a list of words. Exported by default. Takes the following arguments:

delim

Delimiter, which can be a regular expression. Occurrences inside quotes are ignored.

keep

Boolean. If false, quotes and single backslashes are removed from the list of words returned, and a double backslash is returned as a single backslash. If true, quotes and backslashes are retained.

lines

The list of lines to be parsed.