Have you ever started writing a one-liner and half way in realized it was a bit more complex than you first thought? If your shell is bash, next time that happens try ctrl-x ctrl-e. It will take your current line and stuff it into the your default editor (export EDITOR=vim).
Tag Archives: console
Last week I stumbled on a nice console regex helper. It’s not that I’m bad at regex but switching between sed, vim, python, perl regex trips me up a bit sometimes. Go ahead and check it out for yourself [.]quit reset [*]color [/]programs ^txt2regex$ !! not supported RegEx perl : RegEx php : RegEx postgres: […]
As I have said before life at the terminal is a joy. I constantly struggle with keeping myself organized. I actually work pretty well keeping most things in my head. But one of these days I’m going to fall down and hit my head and forget everything. So try and try again to keep myself […]