Created
May 9, 2019 17:20
-
-
Save rishiag/93992270f4469874eccd073efd5774f4 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