summaryrefslogtreecommitdiffhomepage
path: root/awk.html.markdown
diff options
context:
space:
mode:
authorGaurang Tandon <1gaurangtandon@gmail.com>2019-01-07 14:26:35 +0530
committerGitHub <noreply@github.com>2019-01-07 14:26:35 +0530
commit38945d8be9f67cc6ed6d5ba213e907a31f01ec58 (patch)
tree20811b442e252bac35897e27a346edcda84872f5 /awk.html.markdown
parent3ba95367762665be8e6a8e59601929e0ad9f7472 (diff)
[awk/en] fix minor spelling mistakes
Diffstat (limited to 'awk.html.markdown')
-rw-r--r--awk.html.markdown6
1 files changed, 3 insertions, 3 deletions
diff --git a/awk.html.markdown b/awk.html.markdown
index 3d2c4ccb..3b6e34b4 100644
--- a/awk.html.markdown
+++ b/awk.html.markdown
@@ -10,7 +10,7 @@ AWK is a standard tool on every POSIX-compliant UNIX system. It's like
flex/lex, from the command-line, perfect for text-processing tasks and
other scripting needs. It has a C-like syntax, but without mandatory
semicolons (although, you should use them anyway, because they are required
-when you're writing one-liners, something AWK excells at), manual memory
+when you're writing one-liners, something AWK excels at), manual memory
management, or static typing. It excels at text processing. You can call to
it from a shell script, or you can use it as a stand-alone scripting language.
@@ -32,7 +32,7 @@ pattern2 { action; }
# There is an implied loop and AWK automatically reads and parses each
# record of each file supplied. Each record is split by the FS delimiter,
# which defaults to white-space (multiple spaces,tabs count as one)
-# You cann assign FS either on the command line (-F C) or in your BEGIN
+# You can assign FS either on the command line (-F C) or in your BEGIN
# pattern
# One of the special patterns is BEGIN. The BEGIN pattern is true
@@ -238,7 +238,7 @@ function io_functions( localvar) {
# handle for you when you use something that needs one. The string you used
# for this can be treated as a file handle, for purposes of I/O. This makes
# it feel sort of like shell scripting, but to get the same output, the string
- # must match exactly, so use a vaiable:
+ # must match exactly, so use a variable:
outfile = "/tmp/foobar.txt";