On 26 February 2010 06:56, Cedric Staniewski <[email protected]> wrote: > On 25.02.2010 23:43, Aaron Griffin wrote: >> On Thu, Feb 25, 2010 at 4:23 PM, Cedric Staniewski <[email protected]> wrote: >>> The location of the used utilities may and does differ between various >>> distributions and therefore absolute paths do not work well. Since the >>> main purpose of its introduction was to avoid side-effects caused by >>> aliases, it is sufficient to disable possible aliases temporarily by >>> preceding the commands with a backslash. >> >> Holy crap, that works? Where did you find this trick? > > Seems so. I found it in a blog post[1] but not in bash's man page. > > [1] http://blog.zelut.org/2009/03/14/temporarily-disable-aliases-in-bash/
And presto, it really does: [sc...@v3000 ~]$ alias printf='printf "hi\n"' [sc...@v3000 ~]$ printf hi [sc...@v3000 ~]$ \printf printf: usage: printf [-v var] format [arguments] -- GPG/PGP ID: B42DDCAD
