[Top][All Lists]

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

Re: mnemonics of "gen" in gensub()

From: arnold
Subject: Re: mnemonics of "gen" in gensub()
Date: Wed, 19 Feb 2020 10:04:47 -0700
User-agent: Heirloom mailx 12.5 7/5/10

Peng Yu <address@hidden> wrote:

> 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

gen is short for generalized.


reply via email to

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