Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] [AWK GREP] AWK and GREP funcs, arg order

From: gregg::pointillistic::com at: 15-May-2007 12:23

Design question: AWK and GREP take the program/pattern as their first arg (not counting switches and options), and the file or files as the last arg. I remember Carl saying once that the arg order in REBOL is generally governed by the desire to put the most important arg first. e.g. series functions take the series as the first arg. If you were designing AWK and GREP functions for REBOL, what arg order would you use? -- Gregg