bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mnemonics of "gen" in gensub()


From: Peng Yu
Subject: mnemonics of "gen" in gensub()
Date: Wed, 19 Feb 2020 10:56:46 -0600

Hi,

I can understand the "g" in gsub() is for global substitution (same as
in sed or vim). sub() is for non-global (i.e., the first match
substitution). But what does "gen" in gensub() stand for? Thanks.

-- 
Regards,
Peng



reply via email to

[Prev in Thread] Current Thread [Next in Thread]