Search Results

Search: Posts Made By: vishalgoyal
1,672
Posted By vishalgoyal
hello Ravinder and all, Thanks for response....
hello Ravinder and all,

Thanks for response.
Is it possible that in second column, if we see as 3 bits, in first bit I can have output for 0-3 and 11, and lets disregard other bits.
I am sure...
1,672
Posted By vishalgoyal
awk expressions
when I use

Input command | awk '$2~/[0-3]:[3]:[0-3]/'
300 12:3:0 FC 15 normal 559104 525312 6:6:1* 7:6:1 600
301 12:3:1 FC 15 normal 559104 525312 6:6:1 7:6:1* ...
870
Posted By vishalgoyal
Regular expression
Hello Gurus,

I am looking for regular expressions for awk to filter on second column 2nd and 3rd digit

Using in code something like: awk '{if ( $2 == "0:[0-3]:[1,3]" ) print}

source file:
...
956
Posted By vishalgoyal
bash query.
I have a $file which will be used as an input file for the script, pasting ie.

16 VDBDN084_K_TPVV016 SDBDN081 5:3:2 t 4313 273 4313 69077 3689 69077 2.0 2.1 16.0 ...
3,328
Posted By vishalgoyal
How to remove a line if column 1 does not contain any value?
Input File

science maths
tom 2 3
peter 5
rodger 5 7

Desired Ouput

science maths
tom 2 3
rodger 5 7


Here Peter does not have any value...
Showing results 1 to 5 of 5

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