Search Results

Search: Posts Made By: leo.maveriick
875
Posted By leo.maveriick
Need help with grep
Here is the sample of my file
var1 10
var1,var2 20
var1 30
var4 20
var1,var4 40

I need to grep for line containing only "var1" to return this output

var1 10
var1 30

What option do I...
15,867
Posted By leo.maveriick
Thanks guys!!!
Thanks guys!!!
15,867
Posted By leo.maveriick
grep/awk to only print lines with two columns in a file
Hey,

Need some help for command to print only lines with two columns in a file

abc 111
cde 222
fgh
ijk 2
klm 12 23
nop

want the ouput to be

abc 111
cde 222
ijk 2

Thanks a lot...
1,593
Posted By leo.maveriick
perfect ..Thanks a lot...
perfect ..Thanks a lot...
1,593
Posted By leo.maveriick
need help for a script to organize data
Hey all,

I have a file with info like this

12:05:44 DEV001 (15F6) 71 5 1372 131 58 100 6 0 17
DEV002 (15FA) 60 0 928 15 50 N/A...
1,139
Posted By leo.maveriick
Options working great..Thanks everyone!!
Options working great..Thanks everyone!!
1,139
Posted By leo.maveriick
edit a line for getting inputs
Hello Everybody,

I have a file with data like this


8z:1
15y:0
7x:0
12w:1
...
...


I would like read each line through a loop and will needing to get the input from each line like...
2,571
Posted By leo.maveriick
Thanks for the replies guys...
Thanks for the replies guys...
2,393
Posted By leo.maveriick
Thanks a lot..it works great
Thanks a lot..it works great
2,571
Posted By leo.maveriick
need help in expanding hexa decimal character range
Hi all,

I have a input like this

3AF9:3B01

and need to expand to the below output

3AF9
3AFA
3AFB
3AFC
3AFD
3AFE
3AFF
3B00
3B01

Please let me know the easiest way for achieving...
2,393
Posted By leo.maveriick
Need help in writing a script to edit a file
Hi all,

I need help in writing a script to edit a file

Here is the sample of my file

abc xxx 123
456
789
045

def yyy 987
678
098

cdf...
2,656
Posted By leo.maveriick
Thanks guys!!!
Thanks guys!!!
2,656
Posted By leo.maveriick
Need help to grep for a title match and then make some queries after the match
Here is the sample of my file address.txt

Address 1
1234 Drive way
New Orleans, LA
Zipcode :- 12345

Address 2
4567 Spring way
Chicago, IL
Zipcode :- 67890

I would like to grep for an...
Showing results 1 to 13 of 13

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