Alias Problem

Phoenix Yuan sfupy at shaw.ca
Wed Sep 15 22:57:12 PDT 2004


I want to create an alias for a command such as:
ld -shared something.o somethingElse.o -o something.so

The initial alias I created is
ldd -shared $1 $2 -o $3

When I ran
ldd something.o somethingElse.o something.so

I received complain about the C-shell not able to find something.so

Eventually, I figured out the problem is the -o flag. It gets between 
the arguments.

So, how can I fix alias?


Many thanks


More information about the freebsd-questions mailing list