Re: shell variable security
- From: "Jacques B." <jjrboucher@xxxxxxxxx>
- Date: Wed, 3 Oct 2007 13:10:23 -0400
Forgot my closing square bracket in that last posting. Re-posting for
archive purposes in case someone with less bash experience stumbles
across this later and tries it (and for those of us who copy/paste to
save typing...).
if [ "$name" !> "${name%%+(;|:)*}" ]
then
echo "Invalid character!"
fi
Jacques B.
--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
- References:
- shell variable security
- From: tony . chamberlain
- Re: shell variable security
- From: Jacques B.
- Re: shell variable security
- From: Jacques B.
- Re: shell variable security
- From: Jacques B.
- shell variable security
- Prev by Date: Re: gdm login screen fails to load
- Next by Date: Re: gdm login screen fails to load
- Previous by thread: Re: shell variable security
- Next by thread: Re: shell variable security
- Index(es):
Relevant Pages
|