awk '{for(i=1;i<4;i++) $i="";print}' file
More Related Contents:
- How do you delete all lines that contain no letters from the alphabet using either grep, sed, or awk? [closed]
- substitute words on a line only before first delimeter using sed or awk
- Printing with sed or awk a line following a matching pattern
- What are NR and FNR and what does “NR==FNR” imply?
- How do I find the text that matches a pattern?
- Escaping separator within double quotes, in awk
- Is a /start/,/end/ range expression ever useful in awk?
- Can we use shell variables in awk?
- Summing values of a column using awk command
- Using multiple delimiters in awk
- Using AWK to Process Input from Multiple Files
- Assigning system command’s output to variable
- Why does “1” in awk print the current line?
- How to split a delimited string into an array in awk?
- How to escape a single quote inside awk
- Random numbers generation with awk in BASH shell
- How to show only next line after the matched one?
- Print second-to-last column/field in `awk`
- How can I make awk not use scientific notation when printing small values?
- print unique lines based on field
- ignorecase in AWK
- Using awk to pull specific lines from a file
- get the user input in awk
- How to preserve the original whitespace between fields in awk?
- How can I do a recursive find/replace of a string with awk or sed?
- AWK: Access captured group from line pattern
- Sed to extract text between two strings
- Insert multiple lines into a file after specified pattern using shell script
- How to print 5 consecutive lines after a pattern in file using awk [duplicate]
- How to remove blank lines from a Unix file