Search Results

Search: Posts Made By: buttseire
19,448
Posted By buttseire
Thanks Klash I used this and am proceeding...
Thanks Klash

I used this and am proceeding to write the rest of my REC in perl..

...queue some perl questions ! :)
19,448
Posted By buttseire
Hi Pamu Thanks a mil for the quick...
Hi Pamu

Thanks a mil for the quick response!

I have tried in both ways

cat file1.txt | awk -F '"' '{ for (i=1;i<=NF;i++) { if ( ($i ~ /[0-9]/) && (length($i) == 8)) { print $i } } } '...
19,448
Posted By buttseire
Regex - Return numbers of exactly 8 digits
Hi All

I am new to this forum and also regex.

I am using bash scripting and have a file like this
"0012","efgh","12345678","adfdf", "36598745"
"87654321","hijk","lmno"

I want the ouput to...
Showing results 1 to 3 of 3

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