mimicking awks fs and ofs

Peter Alcibiades palcibiades-first at yahoo.co.uk
Fri Feb 22 06:11:56 EST 2008


How do you do this?  Its super easy in awk.  You just set the item delimiters 
for the input file and the item delimiters for the output file independently.  
Then if you write, for instance, items 1 and 2 to the output fie, they may 
have been tab separated in the input file but will now be | separated or 
whatever in the output file.  Its very simple.  But there doesn't seem to be 
the same thing in Rev.  

Or maybe I am too hung up on the awk model and can't see it?

Peter



More information about the Use-livecode mailing list