Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
title# Arguments
collapsetrue
if [ $# -lt 2 ]; then
  echo "Usage: rosrun PACKAGE EXECUTABLE [ARGS]"
  echo "  rosrun will locate PACKAGE, cd to it, and try to find"
  echo "  an executable named EXECUTABLE in the PACKAGE tree."
  echo "  If it finds it, it will run it with ARGS."
  exit 1
fi

...

Code Block
languagebash
titleListing
collapsetrue
echo $*


Code Block
languagebash
titleIterating Over
collapsetrue
echo $*
shift
shift
echo $*

...