[Rpm-maint] [rpm-software-management/rpm] Add shorthand macros for some conventient Lua string operations (PR #2181)
Miro Hrončok
notifications at github.com
Mon Sep 12 14:33:53 UTC 2022
@hroncok commented on this pull request.
> @@ -387,6 +387,39 @@ runroot rpm \
])
AT_CLEANUP
+AT_SETUP([string functions])
+AT_KEYWORDS([macros])
+AT_CHECK([
+runroot rpm \
+ --eval "%sub cd6317ba61e6c27b92d6bbdf2702094ff3c0c732 1 7" \
+ --eval "%sub cd6317ba61e6c27b92d6bbdf2702094ff3c0c732 7 -7" \
+ --eval "%sub cd6317ba61e6c27b92d6bbdf2702094ff3c0c732 -7" \
+ --eval "%len cd6317ba61e6c27b92d6bbdf2702094ff3c0c732" \
+ --eval "%upper abba" \
+ --eval "%lower beatles" \
```suggestion
--eval "%lower Beatles" \
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2181#pullrequestreview-1104256796
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/2181/review/1104256796 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20220912/fa2ac0b0/attachment-0001.html>
More information about the Rpm-maint
mailing list