Search Results

Search: Posts Made By: sushine11
7,791
Posted By itkamaraj
use exit, so that other lines will not be read by...
use exit, so that other lines will not be read by awk

awk -F'~' 'NR==1{print $2,$4;exit}' input.txt
7,791
Posted By expert
try cat input.txt | cut -d "~" -f2,4
try
cat input.txt | cut -d "~" -f2,4
7,791
Posted By balajesuri
awk -F'~' 'NR==1{print $2,$4}' input.txt
awk -F'~' 'NR==1{print $2,$4}' input.txt
Showing results 1 to 3 of 3

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