[gnutls-devel] GnuTLS | tests: simplify shell-script usage (!1337)

Read-only notification of GnuTLS library development activities gnutls-devel at lists.gnutls.org
Fri Sep 25 06:44:28 CEST 2020




Andreas Metzler commented:


Hello,

there is some usage of the FOO="${FOO:-defaultvalue} idiom left
~~~
ametzler at argenau:~/GIT/gnutls$ grep -Er '^[A-Za-z_][A-Za-z_]*="?\${[A-Za-z_][A-Za-z_]*:-' * | wc
     28      48    2003
~~~
Regex is imperfect, there are some false positives.

cu Andreas

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/merge_requests/1337#note_418491140
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20200925/95430438/attachment.html>


More information about the Gnutls-devel mailing list