Aug-30-2023, 04:25 PM
Hi experts
I have mapped, the strings below, the words that start win "-" with another string, for example "nrdbc" is equivalent to "n3DeleteBearerCommand". I would like to create a python code to match "nrdbc", without "-", and to change by "n3DeleteBearerCommand", if the word doesn't have equivalent it can be deleted with its number, example "-trsl 24" would be deleted.
gsh modify_gtp_v2 -nrrc 3 -trac 3 -nrds 2 -trds 5 -nrcs 2 -nrmb 2 -trmb 2 -nrrab 2 -trrab 1 -nri 3 -tri 3 -nrfr 2 -trfr 7 -nfrc 2 -tfrc 1 -nfac 2 -tfac 1 -nrca 2 -trca 1 -nrdbc 2 -trdbc 4 -nrmbc 2 -trmbc 4 -era on -nre 5 -tre 120 -trsl 24 -nrcn 1 -trcn 4 -nrpc 2 -trpc 7 -tnsc 10 -nns 2 -tas 1 -nnr 2 -tar 1 -nnsc 2 -tasc 1 -pb off -sncr off -trer 1 -eras off -nres 3 -tres 3000 -eris 60 -trcs 5000 -eriss 60 -nress 3 -tress 3 -eram off -erim 60 -nrem 3 -trem 3 -trgl 1 -trcss 4000 -trdss 2 -trmbs 2 -trmbcs 4 -nrcss 2 -nrdss 3 -nrmbs 2 -nrmbcs 2 -mmbr off -mabr on -nrmab 2 -trmab 2 -trml 24 -nbsig on -rnccpe true -rnccsi true -dnd 0 -hfipe false -nrcit 2 -trcit 2 -nrdit 2 -trdit 2 -tdit 6 -tavac 2 -scn false -nrbrc 2 -nrbrcs 2 -trbrc 4000 -trbrcs 4000 -gpfcl 72,73,78,83,84,86,91,100,113,120 -rlm off -atrc 10 -sots off
Thank you very much
I have mapped, the strings below, the words that start win "-" with another string, for example "nrdbc" is equivalent to "n3DeleteBearerCommand". I would like to create a python code to match "nrdbc", without "-", and to change by "n3DeleteBearerCommand", if the word doesn't have equivalent it can be deleted with its number, example "-trsl 24" would be deleted.
gsh modify_gtp_v2 -nrrc 3 -trac 3 -nrds 2 -trds 5 -nrcs 2 -nrmb 2 -trmb 2 -nrrab 2 -trrab 1 -nri 3 -tri 3 -nrfr 2 -trfr 7 -nfrc 2 -tfrc 1 -nfac 2 -tfac 1 -nrca 2 -trca 1 -nrdbc 2 -trdbc 4 -nrmbc 2 -trmbc 4 -era on -nre 5 -tre 120 -trsl 24 -nrcn 1 -trcn 4 -nrpc 2 -trpc 7 -tnsc 10 -nns 2 -tas 1 -nnr 2 -tar 1 -nnsc 2 -tasc 1 -pb off -sncr off -trer 1 -eras off -nres 3 -tres 3000 -eris 60 -trcs 5000 -eriss 60 -nress 3 -tress 3 -eram off -erim 60 -nrem 3 -trem 3 -trgl 1 -trcss 4000 -trdss 2 -trmbs 2 -trmbcs 4 -nrcss 2 -nrdss 3 -nrmbs 2 -nrmbcs 2 -mmbr off -mabr on -nrmab 2 -trmab 2 -trml 24 -nbsig on -rnccpe true -rnccsi true -dnd 0 -hfipe false -nrcit 2 -trcit 2 -nrdit 2 -trdit 2 -tdit 6 -tavac 2 -scn false -nrbrc 2 -nrbrcs 2 -trbrc 4000 -trbrcs 4000 -gpfcl 72,73,78,83,84,86,91,100,113,120 -rlm off -atrc 10 -sots off
Thank you very much