Search Results

Search: Posts Made By: James Clark
21,174
Posted By James Clark
Thank you very much.
Thank you very much.
21,174
Posted By James Clark
Thank you. Actually, my example and description...
Thank you. Actually, my example and description was not concise enough. I'm trying to extract the pattern of 6 sequential digits from the string. Other digits may be in the string, as well as...
21,174
Posted By James Clark
Extracting pattern only with AWK | SED | GREP
We have the following statement working in CGYWIN, but when we move the program to Solaris 10 it fails.

x=`echo "ABC196925XYZ" | grep -o --only-matching "[0-9]\{6\}"`

How can we use AWK or...
Showing results 1 to 3 of 3

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