how can i update file using script ?

asked 2016-08-26 08:25:41 -0500

hosein_hyper gravatar image

updated 2016-08-28 12:17:49 -0500

gvdhoorn gravatar image

script will update your files for you:

find . -iname "*.xacro" | xargs sed -i 's#<\([/]\?\)\(if\|unless\|include\|arg\|property\|macro\|insert_block\)#<\1xacro:\2#g'

Edit: hi thats a question . im not very good in ubuntu and english ! im so sorry about that ! how can i update xacro file using script in ubuntu ??

how can use this script for update xacro file ??

find . -iname "*.xacro" | xargs sed -i 's#<([/]\?)(if\|unless\|include\|arg\|property\|macro\|insert_block)#<\1xacro:\2#g'
edit retag flag offensive close merge delete

Comments

Is this a question or an answer? It's not clear what kind of upgrade you're doing or why I might want to run it.

ahendrix gravatar imageahendrix ( 2016-08-26 10:23:07 -0500 )edit

You've just copied the final paragraph ("12. Deprecated Syntax") from the xacro main page here. Doesn't seem useful as a question or suggestion.

Mark Rose gravatar imageMark Rose ( 2016-08-26 13:22:55 -0500 )edit