[gentoo-user] Re: [OT] Bash scripting 2
> file=/etc/conf.d/net > echo ${file%/*} I've gotten it working with dirname already, but this one is nice ;] Thanks for help. -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list
[gentoo-user] Re: [OT] Bash scripting 2
> $ dirname /etc/conf.d/net > /etc/conf.d That's what i need, many thanks! -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list