Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

New answers tagged

0 votes

How to "grep" for line length in a given range?

I think this will be useful to someone. By extension, if you want to match a specific string within a line that is no longer than say 255 characters, this would be a solution. Usage: looking for a ...
user avatar
1 vote

Remove everything before multiple HTML matching lines using Perl or sed

I wouldn't parse HTML with a regex, but simply based off "print things after and including <h2>" you can do this, perl -nE'state $start ||= m?<h2>? and print' ./test Even in ...
user avatar
  • 22.5k
0 votes

Modify filenames in Makefile

i suggest to create a copy of the entire source tree then modify the files in the copy directory without renaming them. that way you don't need to modify the makefile. and as bonus you can have an ...
user avatar
  • 25.3k

Top 50 recent answers are included