home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / usr / lib / libvte9 / osc < prev    next >
Encoding:
Text File  |  2007-04-09  |  391 b   |  22 lines

  1. #!/bin/sh
  2. #
  3. #  Operating system commands.
  4. #
  5. if [ "$#" -eq 0 ] ; then
  6.     echo usage: `basename $0` 'command [...]'
  7.     echo commands:
  8.     echo "    0 'title'    change icon name and window title"
  9.     echo "    1 'title'    change icon name"
  10.     echo "    2 'title'    change window title"
  11.     exit
  12. fi
  13. args=
  14. for arg in $@ ; do
  15.     if [ "$args" = "" ] ; then
  16.         args="$arg"
  17.     else
  18.         args="$args;$arg"
  19.     fi
  20. done
  21. echo -e -n "]"${args}
  22.