awk

Awk Introduction Tutorial – 7 Awk Print Examples

2010/05/19

awk examples Awk Introduction Tutorial – 7 Awk Print Examples This is the first article on the new awk tutorial series. We’ll be posting several articles on awk in the upcoming weeks that will cover …

Splitting strings with IFS

2010/02/04

Today I want to discuss splitting strings into tokens or “words”. I previously discussed how to do this with the <a …

Understand Awk Variables with 3 Practical Examples

2010/01/28

<a id="aptureLink_gQhJKQ92Kn" style="padding: 0px 6px; float: left;" href="http://www.gnu.org/software/gawk/manual/gawk.html"><img style="border: 0px …

Display the output of a command from the first line until the first instance of a regular expression.

2010/01/04

| perl -n -e 'print "$_" if 1 … /«a class="zem_slink freebase/en/regular_expression" title="Regular expression" rel="wikipedia" …

Display a block of text with delineated by a start pattern and an end pattern

2009/12/18

Taken idea from commandlinefu.com The command will display a segment from the file from the start pattern to the end pattern. function viewsegment() { tail -n +`fgrep -n -m 1 “$1” $3 | …


This website uses cookies to ensure you get the best experience on our website. Learn more Got it