help-bash
[Top][All Lists]
Advanced

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

safe eval , as safe as the array elements .. @Q


From: alex xmb ratchev
Subject: safe eval , as safe as the array elements .. @Q
Date: Sat, 4 Mar 2023 13:58:43 +0100

root@localhost:~#
set -- printf -- %s\\n  a b\ b\ b cee
eval -- "${@@Q}"
---

a
b b b
cee                                            root@localhost:~#

i based that on @Q == 1:1 data but escaped


reply via email to

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