Date: Thu, 10 Oct 2002 05:23:36 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Peter Leftwich <Hostmaster@Video2Video.Com> Cc: FreeBSD LIST <FreeBSD-Questions@FreeBSD.ORG> Subject: Re: /etc/make.conf and AMD Athlon 600 Message-ID: <20021010022336.GH21391@hades.hell.gr> In-Reply-To: <20021009214930.K36987-100000@earl-grey.cloud9.net> References: <20021008065146.GM81796@vectors.cx> <20021009214930.K36987-100000@earl-grey.cloud9.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-10-09 22:00, Peter Leftwich <Hostmaster@Video2Video.Com> wrote: > On Mon, 7 Oct 2002, Adam Weinberger wrote: > > > I didn't have .../share/mk/ so I went out with google and downloaded > > > bsd.cpu.mk -- Wouldn't it be nice if "mv" had a flag to create directories > > > if they don't exist? Same with the command "touch." > > put this in your shell's rcfile: > > mvm() {mkdir -p `dirname $2` && mv $1 $2;} > > Doesn't it matter which shell I'm running? (tcsh) But the script looks > seriously cool, thanks! > > I just did some Google and AltaVista searches for mvm mvm() and mkdir and > unix... Didn't find anything. Which manpage concerns mvm?? You won't find any. It's a shell function, named mvm() by the poster of that message. Shell functions are one of the ways to create custom, elaborate 'aliases' of commands. The other two alternatives being the `alias' shell builtin (where it works) and writing shell scripts. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010022336.GH21391>