Skip to content

Commit e3fc437

Browse files
committed
add AWK
1 parent 875af3e commit e3fc437

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

awk/hello.awk

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
BEGIN {
2+
print("Hello, World!")
3+
}

awk/readme.md

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# AWK Hello World
2+
3+
4+
AWK is a programming language that is used to process text files. It is a domain specific language that is designed for text processing and typically used as a data extraction and reporting tool. It is a standard feature of most Unix-like operating systems.
5+
6+
7+
# run the program
8+
9+
## for linux
10+
11+
for run the program, you can use the command:
12+
13+
```
14+
awk -f hello.awk
15+
```
16+
17+
## for windows
18+
19+
you need to install [git bash](https://git-scm.com/downloads), and run the program with the command:
20+
21+
```bash
22+
awk -f hello.awk
23+
```

0 commit comments

Comments
 (0)