标签:awk

Transpose File

Given a text file file.txt, transpose its content.

You may assume that each row has the same number of columns and each f[……]

Read more

{ Comments are closed }

Word Frequency

Write a bash script to calculate the frequency of each word in a text file words.txt.

For simplicity sake, you may assume:[……]

Read more

{ Comments are closed }

How would you print just the 10th line of a file?(shell)

For example, assume that file.txt has the following content:

Your script should output th[……]

Read more

{ Comments are closed }