& Means Literal Match

Qedit 5.7 for HP-UX

Home Previous Next


&
Means Literal Match

Ampersand (&) in a pattern-match string means to match the next character literally, even if it is an "@" or other character with pattern meaning:

/list "&@@"(pat) {all lines starting with "@"}


Home Previous Next