Search Results

Search: Posts Made By: kjhambrick
1,366
Posted By kjhambrick
deo_kaustubh -- Assume your Data is in...
deo_kaustubh --

Assume your Data is in data.txt ...

1. Save the CODE as a file, say foo.sh
2. chmod 755 foo.sh
3. ./foo.sh data.txt

The "$@" at the end of foo.sh will accept any number of...
1,366
Posted By kjhambrick
Maybe this: #!/bin/sh gawk ' BEGIN...
Maybe this:


#!/bin/sh

gawk '
BEGIN {

FS = OFS = ","

NumHead = 3 # Assume: 3-header lines
NumRead = 0

# read the three header lines into a 2-D Array ...

...
Showing results 1 to 2 of 2

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