What is FS and OFS in awk?
Answer
8 Powerful Awk Built-in Variables – FS, OFS, RS, ORS, NR, NF, FILENAME, FNR. Variable which defines values which can be changed such as field separator and record separator. Variable which can be used for processing and reports such as Number of records, number of fields.
Answer
8 Powerful Awk Built-in Variables – FS, OFS, RS, ORS, NR, NF, FILENAME, FNR. Variable which defines values which can be changed such as field separator and record separator. Variable which can be used for processing and reports such as Number of records, number of fields.