@pmatilai commented on this pull request.


> @@ -121,6 +121,7 @@ various common operations.
 | `%{lower:...}`   | lowercase a string | 4.19.0
 | `%{rep:...}`     | repeat a string (see Lua `string.rep()`) | 4.19.0
 | `%{reverse:...}` | reverse a string | 4.19.0
+| `%{span:...}`    | as-is string, handy for wrapping multiline macros | 6.0.0

It is. I avoided the term *literal* intentionally to avoid confusion to rpm's 
"literal macros" which are *never* expanded, whereas when used like this:

```
%foo() %{span:
echo arg %1
}
```

...the %1 inside the span will get expanded when %foo() is used. Whereas if 
this was a "literal macro" the %1 would always be a literal %1.

Confusing enough? :smile: 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3677#discussion_r2022477541
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/3677/review/2732048...@github.com>
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
https://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to