Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
what is the '^' supposed to be? Ctrl key? Tab? i don't really understand which shell behavior you want to reproduce.
isn't there a history command?
what exactly are you trying to achieve?
debiman wrote:what is the '^' supposed to be? Ctrl key? Tab? i don't really understand which shell behavior you want to reproduce.
isn't there a history command?
what exactly are you trying to achieve?
is a history expansion which substitute string1 with string2 of the last command
now im trying to create a script to do just that but instead of typing ^string1^string2
i want
no answer on stackoverflow either... i'm guessing it isn't possible.
sure, you could try messing around with xdotool or some such, but really it would be bets to
either
- just use the history expansion as is without scripting it
or
- recreate the behavior with other utilities like sed...
you can also try to ask this on #bash on irc.freenode.net