Hi all,
I have a string "Post.lang.tmp. txt" and i have to replase the ".txt" with "_large.txt ".
Please help me regarding this problem.
I got it in shell scripting using
`echo $string | awk -F"/" '{print $NF}' | sed s/.txt/_valid.txt/`
Regards
Pnsreee
I have a string "Post.lang.tmp. txt" and i have to replase the ".txt" with "_large.txt ".
Please help me regarding this problem.
I got it in shell scripting using
`echo $string | awk -F"/" '{print $NF}' | sed s/.txt/_valid.txt/`
Regards
Pnsreee
Comment