fwd=$(cut -d' ' -f2 <<<"$header") # /var/cvsroot/gentoo-src/keychain/keychain.sh,v
f=${fwd##*/} # keychain.sh,v
f=${f%,v} # keychain.sh
- froot=${fwd#/var/cvsroot/} # gentoo-src/keychain/keychain.sh,v
+ froot=${fwd#/var/cvsroot/} # gentoo-src/keychain/keychain.sh,v
froot=${froot%%/*} # gentoo-src
- fwd=${fwd#/var/cvsroot/*/} # gentoo-src/keychain/keychain.sh,v
+ fwd=${fwd#/var/cvsroot/*/} # gentoo-src/keychain/keychain.sh,v
fwd=${fwd%/*} # keychain
;;
?Header:\ /var/cvsroot/*/*)
- f=$(cut -d' ' -f2 <<<"$header") # /var/cvsroot/gentoo-x86/skel.ebuild,v
+ f=$(cut -d' ' -f2 <<<"$header") # /var/cvsroot/gentoo-x86/skel.ebuild,v
froot=${f%/*} # /var/cvsroot/gentoo-x86
froot=${froot##*/} # gentoo-x86
f=${f##*/} # skel.ebuild,v