53歳限界プログラマの憂鬱

SU/CAR-ST-APplication-cellsから派生したプログラマのブログ

来訪ありがとうございます
シストレツールを自作してました
自分用の記事が多いのであまり役には立たないブログでした

f:id:sucar:20150414193802p:plain

自作システム詳細目次

業務連絡「上場廃止銘柄の除去」

今何のプログラムを作っているかはSU/CAR-ST-Support-Systemのブログを見てもらうとして、今朝の仕事

株データから「上場廃止」銘柄を取り除くようにする

を作業

shell スクリプトなので、、、えーと

./bin/data200 の

cat ./code/bb.txt |sort |uniq > ./code/b.txt

が除外銘柄なので

# 除外コード処理 jjhishi.txt
cat ./code/bb.txt ./code/jjhishi.txt |sort |uniq > ./code/b.txt

に変更

cat ./code/a.txt ./code/b.txt | sort | uniq > ./code/all.txt
cat ./code/b.txt ./code/all.txt | sort | uniq -u > ./code/code.cfg

で無事に除外

d.hatena.ne.jp

が参考になりました (uniq -u)

data200以外も同様にしときゃなきゃ