Scope sed commands to specific lines
Find out how to use sed addresses to target chunks of text between two patterns, for example.
sed commands to specific linesFind out how to use sed addresses to target chunks of text between two patterns, for example.
Git version 2.511
was released some week ago and is packed with upgrades to its plumbing and
performance, with better indexes for some packfiles, noticeably improved
fetch/push speed, deprecation2 of whatchanged and promotion
of switch and restore out of experimental status (though checkout is not
going anywhere).
Yet, to the diphasic3 end-user, the unassuming highlight of this release is the ability to share your stashes through your remote: let's check it out!
Disclaimer: this article is tailored to those of us who are taking
their first steps in the CLI.
A seasoned user is still likely to find some quite interesting information
in the various notes, but the main focus of the article still is only
meant to level the playing field in order to approach the everything is a
file series.
catThe signature of the shell-illiterate
Earlier this week, I put together installation instructions for a syntax support package for Vim.
I have an idea how these things work and I'm fairly confident that -u NONE
will get Vim to disregard my years of sensibly crafted configuration, but I
wanted to go one step further: from zero to a working plug-in, undoubtedly
reproducible on any machine.
column, cut and pasteGrids, lists, and other horizontally split what-have-yous, from the CLI
$EDITOR with moreutilsI carry around a (very humble) collection of fzf utilities, where I intend to leverage a tacit promise
of Vim: I can edit content,
right there in the terminal, between two commands, and be done earlier than a
corporate IDE would be
flashing its splash screen1.
But let's put aside the speed: I mean to talk about the availability and convenience.
With moreutils,
this elevator pitch needs to be challenged: between
two commands? Laughable. The adept functional
programmer in me should
have sniffed it out some time ago: I can use Vim like I use sed.