Quantcast
Channel: UNIX and Linux Forums
Viewing all articles
Browse latest Browse all 16232

Printing line in shell script

$
0
0
Need assistance in getting a shell program .
I have csv file and each line has comma separated number. I wanted to take of the comas and print each number in each line . below example. Appreicate your help

Row with number
Code:

KCAR,31,62,36,69,41,75,46,78,55,70,44,69,41,65,40,63,41,61,42,64,43,66,41,65,44,66,44,68,46,69
Need to be printed as
Code:

KCAR
max 31
min 62
avg 63
max 69
min 41
avg 75

and soo on

Viewing all articles
Browse latest Browse all 16232

Trending Articles