Search Results

Search: Posts Made By: Sourav Das
14,851
Posted By neutronscott
awk '$1=$1' FS='|' OFS='\t' ORS="${rsuffix}\n"...
awk '$1=$1' FS='|' OFS='\t' ORS="${rsuffix}\n" input
14,851
Posted By vgersh99
man awk yields: ORS The...
man awk yields:

ORS The output record separator, by default a newline.


#!/bin/ksh
ors='\t\t\n'

awk '$0=$0' ORS="${ors}" TESTDATA.txt > TEMP2.txt
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy