New answers tagged perl
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 ...
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 ...
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 ...
Top 50 recent answers are included
Related Tags
perl × 1296awk × 441
sed × 402
text-processing × 336
linux × 169
bash × 142
shell-script × 126
regular-expression × 123
grep × 76
shell × 71
scripting × 65
python × 54
files × 28
debian × 25
centos × 25
command-line × 24
ksh × 24
rename × 20
cpan × 20
solaris × 18
csv × 18
find × 15
apache-httpd × 14
rhel × 13
software-installation × 13