Search Results

Search: Posts Made By: shivi707
4,947
Posted By shivi707
How to concatenate consecutive lines
I have a few lines like --

feature 1,
subfeat 0,
type 3,
subtype 1,
value 0,
--
feature 1,
subfeat 0,
...
3,592
Posted By shivi707
Fetching unique values from file
After giving

grep -A4 "feature 1," <file name>

I have extracted the following text

feature 1,
subfeat 2,
type 1,
subtype 5,
...
Showing results 1 to 2 of 2

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