On Fri, Jul 05, 2019 at 07:39:08PM +0200, john doe wrote: > > mick crane wrote: > >> I doing some code in perl and I'm not very good at it.
> [ $1 = ${HOME} ] || { echo " Directory (${1}) not allowed." >&2; exit 1; } (a) That's not perl. (b) https://mywiki.wooledge.org/Quotes https://mywiki.wooledge.org/BashPitfalls