Search Results

Search: Posts Made By: balapobi
2,718
Posted By pamu
awk 'NR==FNR{X[$0]=$0;next}{for(i in X){if($0 ~...
awk 'NR==FNR{X[$0]=$0;next}{for(i in X){if($0 ~ i){gsub(i,i" matched",$0)}}}1' file1 file2
46,865
Posted By fpmurphy
Here is how to do it using ksh93. ...
Here is how to do it using ksh93.

#!/bin/ksh93

typeset -i2 mask=255

[[ $# != 2 ]] && {
echo "Usage: $0 ipaddress subnetmask"
exit 1
}

SaveIFS=$IFS
IFS=.
typeset -a IParr=($1)...
Showing results 1 to 2 of 2

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