I would like to just get string "Running:Mgen:3848" and store it in a variable so that I can do come post processing. thanks --girija$tmp = "1: 2\n2: /my/tmp/20160213T161519/outgoing\n3: DL\n4: 0\nTempSo +urce: , Ue: 2, TaskName=, TempDest: \nTaskName \n/data/busybox/ps |gr +ep mgen5| grep -v grep\nDL txt is running PID: 3848\nRunning:Mgen:384 +8";
In reply to How to findout a sub string from the string by gjoshi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |