On Mon, 28 Jan 2008 14:25:27 -0500
Ignacio Vazquez-Abrams <[EMAIL PROTECTED]> took out a #2 pencil
and scribbled:

> [EMAIL PROTECTED] ~]$ alias foo=bar
> [EMAIL PROTECTED] ~]$ foo
> bash: bar: command not found
> [EMAIL PROTECTED] ~]$ "foo"
> bash: foo: command not found
> [EMAIL PROTECTED] ~]$ \foo
> bash: foo: command not found

Interesting. Here's an example of what I see on my system with cp
aliased to cp -i

[EMAIL PROTECTED] ~]$ which cp
alias cp='cp -i'
        /bin/cp
[EMAIL PROTECTED] ~]$ touch test.tst
[EMAIL PROTECTED] ~]$ "cp" -rf test.tst  test.keytest

Thanks for that information, I need to read the howto on bash
scripting again! *blinks*

Thanks!
-- 
[EMAIL PROTECTED]
Life is a prison, death is a release
_______________________________________________
CentOS mailing list
[email protected]
http://lists.centos.org/mailman/listinfo/centos

Reply via email to