Robotics StackExchange | Archived questions

how can i update file using script ?

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'

Asked by hosein_hyper on 2016-08-26 08:25:41 UTC

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.

Asked by ahendrix on 2016-08-26 10:23:07 UTC

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.

Asked by Mark Rose on 2016-08-26 13:22:55 UTC

Answers