Hello,

Sorry if this question has been asked before;  it's very difficult 
to search the mailing list archives for something weird like "!$".

What is the equivalent of csh's "!$" expression (which evaluates to 
the last argument of the previous command) in fish?

For example:

csh% echo 1 2 3
1 2 3

csh% echo !$
3

When I try the above in fish, it says: The '$' begins a variable 
name. It was given at the end of an argument. Variable names may not 
be zero characters long. To learn more about variable expansion in 
fish, type “help expand-variable”.

Thanks for your consideration.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fish-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to