Search Results

Search: Posts Made By: Himanshu Sharma
8,722
Posted By Himanshu Sharma
cat input.csv | awk -F"|" '{ if (NR == 1 || NR ==...
cat input.csv | awk -F"|" '{ if (NR == 1 || NR == 2) print $0' >> output_file_name

Assuming you want to capture first two lines
Showing results 1 to 1 of 1

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