This is the mail archive of the cygwin mailing list for the Cygwin project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I'm curious why you query the list for help instead of your original source.
That notwithstanding, the reason you see this is because the alias you found and are using is wrong. From the bash man page:
There is no mechanism for using arguments in the replacement text. If arguments are needed, a shell function should be used (see FUNCTIONS below).
The alias you pulled from the web tries to work-around this restriction, without much success (not surprisingly). Use a function something like this:
edit () { cygstart "/cygdrive/c/Programmi/Crimson\ Editor/cedt.exe" $(cygpath -w "$*")
Thank you very much Larry for you explanation, it works perfectly Exactly what I am searching for
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |