Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 5, 2024. It is now read-only.

Commit f2cdfd9

Browse files
link to GNU awk ebook and an example improved
1 parent b104c70 commit f2cdfd9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎gnu_awk.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ DESCRIPTION
7777
* familiarity with regular expressions
7878
* if not, check out **ERE** portion of [GNU sed regular expressions](./gnu_sed.md#regular-expressions) which is close enough to features available in `gawk`
7979
* this tutorial is primarily focussed on short programs that are easily usable from command line, similar to using `grep`, `sed`, etc
80+
* this tutorial has also been [converted to an ebook](https://github.com/learnbyexample/learn_gnuawk) with additional descriptions, examples, a chapter on regular expressions, etc.
8081
* see [Gawk: Effective AWK Programming](https://www.gnu.org/software/gawk/manual/) manual for complete reference, has information on other `awk` versions as well as notes on POSIX standard
8182

8283
<br>
@@ -1504,7 +1505,7 @@ EEE 65
15041505
CSE 80
15051506

15061507
$ # extract line matching Dept and minimum marks specified in list3
1507-
$ awk 'NR==FNR{d[1ドル]; m[1ドル]=2ドル; next} 1ドル in d && 3ドル >= m[1ドル]' list3 marks.txt
1508+
$ awk 'NR==FNR{d[1ドル]=2ドル; next} 1ドル in d && 3ドル >= d[1ドル]' list3 marks.txt
15081509
ECE Joel 72
15091510
EEE Moi 68
15101511
CSE Surya 81
@@ -2668,6 +2669,7 @@ real 0m0.045s
26682669
* `man awk` and `info awk` for quick reference from command line
26692670
* [gawk manual](https://www.gnu.org/software/gawk/manual/gawk.html#SEC_Contents) for complete reference, extensions and more
26702671
* [awk FAQ](http://www.faqs.org/faqs/computer-lang/awk/faq/) - from 2002, but plenty of information, especially about all the various `awk` implementations
2672+
* this tutorial has also been [converted to an ebook](https://github.com/learnbyexample/learn_gnuawk) with additional descriptions, examples, a chapter on regular expressions, etc.
26712673
* What's up with different `awk` versions?
26722674
* [unix.stackexchange - brief explanation](https://unix.stackexchange.com/questions/29576/difference-between-gawk-vs-awk)
26732675
* [Differences between gawk, nawk, mawk, and POSIX awk](https://archive.is/btGky)

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /