Loading....
Commands cut: column in file such as csv grep: grep with xargs sed : using sed to perfom text replacement in a file. used with regular patern Using awk for advanced text processing awk is a tool designed for data stream ,it can also operate on column, rows.it supports built-in functions like arrays, functions. biggest advantage is flexibility. awk ' BEGIN{ print "start" } pattern { commands } END{ print "end" } file The awk command works in the following manner: 1. Execute the statements in the BEGIN { commands } block. 2. Read one line from the file or stdin, and execute pattern { commands }. Repeat this step until the end of the file is reached. 3. When the end of the input stream is reached, execute the END { commands } block.
Last Update: Posted by: müslüm ÇEN