Jump to content

kopertop

Member
  • Posts

    1
  • Joined

  • Last visited

Everything posted by kopertop

  1. By changing the script just slightly, you can make this workflow also support looking up generic ticker symbols, making you go from just "stock" to allowing "stock goog" for example, showing the quote inline. You also need to set "argument optional" and check "with space" #!/bin/bash cat << EOB <?xml version="1.0"?> <items> EOB SYMBOLS="{query}" if [ -z "$SYMBOLS" ] then SYMBOLS=$(cat "$(pwd)/symbols" | sort -u | grep -v '^$'); fi
×
×
  • Create New...