awk -F, 'NR > 1 { print $3 "," $4 "," $5 }'
NR is the current line number, while $3, $4 and $5 are the fields separated by the string given to -F
More Related Contents:
- How to delete rows from a csv file based on a list values from another file?
- Some troubles with using sed and awk [closed]
- How can I manipulate text in bash? [closed]
- How can I do a recursive find/replace of a string with awk or sed?
- Bash tool to get nth line from a file
- How to merge every two lines into one from the command line?
- Remove first N lines of a file in place in unix command line
- How to add to the end of lines containing a pattern with sed or awk?
- Parsing a CSV file using gawk
- Split CSV files into smaller files but keeping the headers?
- Bash: Parse CSV with quotes, commas and newlines
- How to remove double-quotes in jq output for parsing json files in bash?
- How to find/replace and increment a matched number with sed/awk?
- find difference between two text files with one item per line [duplicate]
- Grep output with multiple Colors?
- How to append a string at end of a specific line in a file in bash [duplicate]
- How to grep for case insensitive string in a file?
- sed search and replace strings containing / [duplicate]
- bash: shortest way to get n-th column of output
- Error when using ‘sed’ with ‘find’ command on OS X: “invalid command code .”
- How to parse a CSV in a Bash script?
- Parse out key=value pairs into variables
- How do I escape slashes and double and single quotes in sed?
- Check if all of multiple strings or regexes exist in a file
- How to use a bash script variable with sed [duplicate]
- Use sed to replace all backslashes with forward slashes
- Escaping forward slashes in sed command [duplicate]
- sed multiline delete with pattern
- Parse HTML using shell
- What is the shortest way to get n-th column of an output?