bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: A feature request


From: Ben Walton
Subject: Re: A feature request
Date: Tue, 23 Mar 2010 11:43:10 -0400
User-agent: Sup/git

Excerpts from Claes Lindvall's message of Tue Mar 23 11:31:43 -0400 2010:

> # mkdir -c <dir> (-c changedir)
> or a new command
> # mkcdir <dir>

This would (imho) be better handled as a shell function.  A (bash)
example (needs more error/sanity checking):

function mkcdir() { mkdir "$1"; cd "$1"; }

HTH.
-Ben
-- 
Ben Walton
Systems Programmer - CHASS
University of Toronto
C:416.407.5610 | W:416.978.4302





reply via email to

[Prev in Thread] Current Thread [Next in Thread]