bash: how to check if first character of string is "/"?
Bill Meier
wmeier at newsguy.com
Mon Oct 8 12:24:46 UTC 2007
Bill Meier wrote:
> How about using Bash substring expansion:
>
> if [ "x${VAR:0:1}" = "x" ] ; then ...
Oops: Sorry for the noise. I missed the earlier replies.....
More information about the fedora-list
mailing list