File: linuxtrade.cpt

package info (click to toggle)
linuxtrade 3.65-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,880 kB
  • ctags: 1,969
  • sloc: ansic: 30,091; sh: 2,278; perl: 566; makefile: 126
file content (26 lines) | stat: -rwxr-xr-x 490 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh

#
#
#
PATH=$PATH:$HOME/bin:/usr/share/linuxtrade/bin

LT=$HOME/.linuxtrade
cd $LT || exit 1

#
#	Display the carpets
#
URL=http://stockcharts.com/charts

case "$1" in
[sS]*)	URL="$URL/Carpet.html";;
[mM]*)	URL="$URL/SummaryCarpet.html";;
[iI]*)	URL="$URL/IndicesCarpet.html";;
[fF]*)	URL="$URL/FidelityCarpet.html";;
[rR]*)	URL="$URL/RydexCarpet.html";;
[tT]*)	URL="$URL/TSE300Carpet.html";;
*)	URL="$URL/Carpet.html";;
esac

linuxtrade.av -D1 "moz v2 v1" "$URL" >> cpt.log 2>&1