URL: <http://savannah.gnu.org/support/?105855>
Summary: Multi-op patsubst() and translit() Project: GNU M4 Submitted by: iskunk Submitted on: Friday 05/11/2007 at 04:21 Category: None Priority: 5 - Normal Severity: 1 - Wish Status: None Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Operating System: GNU/Linux _______________________________________________________ Details: A wish for m4 2.0: patsubst() and translit() builtins that can do more than one operation in a single call. Right now, it's awkward to chain together multiple invocations of these, and the quoting/robustness issues can get very hairy. I'd like to see patsubst()/translit() gain a multi-argument semantic like ifelse(), where one could invoke e.g. patsubst(`$1', `meow', `woof', `apple', `orange', `blue', `red', `POSIX_EXTENDED') _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/support/?105855> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-m4 mailing list Bug-m4@gnu.org http://lists.gnu.org/mailman/listinfo/bug-m4