The read command has "-d delim" to read until delimiter delim. I like
to have a new option "-P pattern" read until the content matches the
pattern "pattern" or until EOF. Currently I can do this only by
reading the input stream one character at the time, then concatenate
each character and match that against "pattern". This is an incredibly
slow way compared to awk's line matching actions.

David
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to