Re: Bash substrings – just can’t figure it out…

Johnny Rosenberg gurus.knugum at gmail.com
Tue Jan 31 19:07:07 UTC 2012


If I just give up and use awk and sed, this solves my problem:
echo "$File" | awk -F . '{print $2}' | sed 's/^ //'

But still, is this possible with the Bash built in substring features?


Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ




More information about the ubuntu-users mailing list