m4-discuss
[Top][All Lists]
Advanced

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

How to replace with `$1` literally?


From: Peng Yu
Subject: How to replace with `$1` literally?
Date: Sun, 7 Aug 2016 23:30:04 -0500

Hi, The following code is not able to replace ENV with `$1`.

/tmp$ m4 -D ENV='$1' <<< ENV


Is there a way to call m4 to replace ENV with `$1` without having to
escape `$1` in the command line?

-- 
Regards,
Peng



reply via email to

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