Search Results

Search: Posts Made By: frodo61
5,267
Posted By zaxxon
For lists you could do something like: ...
For lists you could do something like:

#!/usr/bin/ksh

A="1 2 3 4"
B="5 6 2 7"

for a in $A; do
for b in $B; do
(( $a == $b )) && print $a
done
done
...
2,545
Posted By radoulov
OK, some grep implementations support only...
OK, some grep implementations support only limited regular expressions (/usr/bin/grep on Solaris, for example),
but .? (note, there is no backslash before the ?) should work with egrep.
Did you...
Showing results 1 to 2 of 2

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