e(1)
π e(1) β the manual page, bestie edition
okay so, this is e(1), from the General Commands Manual. It's a tiny little baddie that invokes your editor, with optional file:lineno handling. Yes queen, that's the whole vibe. π
β¨ NAME β¨
e β invoke your editor, with optional file:lineno handling π«Ά
πΈ SYNOPSIS πΈ
e [<editor's options>] <file>[:line] [<file>...]
<pipeline> | e -: [<editor's options>]
<pipeline> | e -:: [<editor's options>]
π¦ DESCRIPTION π¦
Okay so picture this: programs that mention line numbers in their messages have mostly standardized on "file:line: Message" or "file:line:col: Message". Gorgeous. Iconic. Except π β that is not what editors support. Editors, almost always, want "+line" and then "file". The mismatch is giving chaos.
So e swoops in like the main character she is. You hand her a list of file names, optionally followed by :line, then possibly a :column and/or an additional colon, and she gives them to your editor. π The line numbers get passed as a separate argument +line before the file name β which is literally what editors expect. Slay.
Alternatively β¨ you can provide file names on the standard input, and specify -: or -:: as the first argument. Here's the tea:
-:β lets you do file names without line numbers π-::β silently ignores anything not in the expected format π
π Examples
git grep FIXME|e -:
make 2>&1 >/dev/null|grep error:|e -::
This is roughly a shorthand for "e pipeline|cut -d: -f1-2".
And ngl, e is also handy as a general-purpose smart alias for running the editor. If yours has a long name like "jstar" or "emacs", you save four keystrokes on what for a typical Unix user is the most often issued command. Four. Keystrokes. That's self-care, fr fr. π
π EDITOR SELECTION π
If the environment variable $EDITOR is set, e will use that. Periodt.
Otherwise, it calls sensible-editor, which asks what editor to use then saves your answer. πΎ And if you wanna get asked again, you can run select-editor to get asked again. π
β tiny reminder bestie:eis the vibe, but$EDITORis the queen who decides who shows up. π
Signing off π β this lil' page is e(1), dated 2018-08-09, and the source/version is just plain e. That's the whole glow-up, no cap. π¦β¨
π¦ where this page comes from
- debian bookworm: e-wrapper 0.2-1 Β· MIT
- debian trixie: e-wrapper 0.2-1 Β· MIT
- ubuntu jammy: e-wrapper 0.2-1 Β· MIT
- ubuntu noble: e-wrapper 0.2-1 Β· MIT
- ubuntu resolute: e-wrapper 0.2-1build1 Β· MIT
- ubuntu stonking: e-wrapper 0.2-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms