Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: MrEddy
1,447
Posted By Yoda
echo 74.125.224.194.80 | awk -F"."...
echo 74.125.224.194.80 | awk -F"." 'NF==5{v=$NF;sub(/\.[0-9]+$/,":"v)}1'
1,447
Posted By alister
It would be easier to use sed: sed 's/\./:/4' ...
It would be easier to use sed:
sed 's/\./:/4'
Regards,
Alister
2,589
Posted By kamalkishore
If you really dont want the data why are you...
If you really dont want the data why are you using 'awk' command.

If you still want to send output to nowhere
try

your awk command > /dev/null
Showing results 1 to 3 of 3

 

Featured Tech Videos

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