[gentoo-user] Re: [OT] Bash scripting 2

2005-11-11 Thread Peper
$ dirname /etc/conf.d/net /etc/conf.d That's what i need, many thanks! -- Best Regards, Peper -- gentoo-user@gentoo.org mailing list

[gentoo-user] Re: [OT] Bash scripting 2

2005-11-11 Thread Peper
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