geeksinthetown
Showing posts with label
Joining two files parallely using awk
.
Show all posts
Showing posts with label
Joining two files parallely using awk
.
Show all posts
Monday, February 13, 2012
Use awk in following cases
Joining two files parallely using awk:
========================
awk 'NR==FNR{a[NR]=$0; next} {print a[FNR], $0}' file1.txt file2.txt
Changing extension of all .txt to .sh:
========================
for i in *.txt;do mv "$i" "${i%.txt}".sh;done
Older Posts
Home
Subscribe to:
Posts (Atom)