From: Jared Hance Date: Wed, 05 May 2010 20:52:37 GMT Subject: Re: [PATCH] An alias that starts with "!!" runs in the current directory. Message-ID: In-Reply-To: <19425.54504.163875.379151@winooski.ccs.neu.edu> Eli Barzilay barzilay.org> writes: > ret = system(alias_string + 1); I don't think that this is correct. You already changed alias_string to the actual code earlier in the command, so I think that this will actually chop off the first letter of the command.