Last active
May 9, 2019 17:21
-
-
Save rishiag/8744e2b4faf348eb2facc40fabdccf15 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| nsrc=split($3,a,".") | |
| ndst=split($5,b,".") | |
| for (i=1;i<nsrc;i++) | |
| { | |
| strsrc=strsrc"."a[i] | |
| } | |
| for (j=1;j<ndst;j++) | |
| { | |
| strdst=strdst"."b[j] | |
| } | |
| print substr(strsrc,2),substr(strdst,2) | |
| strsrc="" | |
| strdst="" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment