help-make
[Top][All Lists]
Advanced

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

use of hyphen in recipes to ignore errors precludes using -- as comment


From: Cook, Malcolm
Subject: use of hyphen in recipes to ignore errors precludes using -- as comment character
Date: Sat, 20 Feb 2021 05:12:01 +0000

Gnu manual reads:

        To ignore errors in a recipe line, write a '-' at the beginning of the 
line's text (after the initial tab)...

I think it would be good if the implementation changed to allow instead

        To ignore errors in a recipe line, write a '-' as the first character 
of the line's text (immediately after the initial tab with no other preceding 
whitespace)...

This would allow the use of '--' following an initial space after the tab to 
serve its usual role introducing an SQL comment, allowing commenting out 
selected lines of  SQL statement within a HERE string.

~Malcolm




reply via email to

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