#ARP again!
02-Apr-88 00:17:55
Sb: #117022-#ARP again!
Fm: Don Curtis/SYSOP 76703,4321
To: BILL LEACH 71330,2621
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Yes, using 'regular expressions' (for those who don't know, grep
stands for General Regular Expression Parser) there are several options:
? = zero or one occurance
+ = one or more occurances
. = any one character
* = 0 or more occurances of the preceding character
eg: /a?x/ matches 'x' and 'ax'
/a+x/ matches 'ax', 'aax', 'aaaax' and so on
/a.x/ matches 'aax', 'abx', 'acx' and so on
/a*x/ matches 'x', 'ax', 'aax', 'aaax' and so on
Don