[Antelope] shell variables with dbsubset
David Vonseggern
vonseg at quake.seismo.unr.edu
Mon Dec 1 12:25:21 CST 2008
I think an even easier way to do it and still remain in C shell is:
set station = "P21A"
dbsubset db.assoc "sta =~ /$station/" | dbselect - sta
See if this works for you -- it does for me on our master tables.
David von Seggern
> X-Virus-Scanned: by amavisd-new using ClamAV at smtp.unr.edu
> X-Virus-Scanned: by amavisd-new-2.4.3 (20060930) (RHEL AS) at nmt.edu
> From: Jonathan MacCarthy <jkmacc at nmt.edu>
> To: antelope-users at brtt.com
> Mime-Version: 1.0 (Apple Message framework v929.2)
> Date: Fri, 28 Nov 2008 17:57:29 -0700
> X-Spam: [F=0.2727272924; B=0.500(0); spf=0.500; CM=0.500;
MH=0.500(2008112838); R=0.600(1081028131843); S=0.200(2008112401); SS=0.500;
SC=none]
> X-MAIL-FROM: <jkmacc at nmt.edu>
> X-SOURCE-IP: [(unknown)]
> X-AnalysisOut: [v=1.0 c=1 a=Uk9SVdyc4FBKdqmMmij75Q==:17 a=1o-P5_VnAAAA:8 a]
> X-AnalysisOut: [=ADnkVvriLEZXFnuSw0kA:9 a=ESrOUcIIBUqo6CeNKbSDscT3i40A:4 a]
> X-AnalysisOut: [=pSXG1apAO_wA:10 a=b8hG5vVbyAkA:10 a=aPQnVdv-7mUo0xbYa0oA:]
> X-AnalysisOut: [9 a=1oGn-_jNaPp6qOvwaWUA:7 a=Pn9siAS2wSI0K05t0fgtEwWGYB4A:]
> X-AnalysisOut: [4 a=37WNUvjkh6kA:10]
> X-Mailman-Approved-At: Sat, 29 Nov 2008 09:44:00 -0600
> Subject: [Antelope] shell variables with dbsubset
> X-BeenThere: antelope at brtt.net
> X-Mailman-Version: 2.1.11.cp2
> List-Id: Antelope Users Discussion and Questions <antelope_brtt.net.brtt.net>
> List-Unsubscribe: <http://brtt.net/mailman/options/antelope_brtt.net>,
<mailto:antelope-request at brtt.net?subject=unsubscribe>
> List-Archive: <http://brtt.net/pipermail/antelope_brtt.net>
> List-Post: <mailto:antelope at brtt.net>
> List-Help: <mailto:antelope-request at brtt.net?subject=help>
> List-Subscribe: <http://brtt.net/mailman/listinfo/antelope_brtt.net>,
<mailto:antelope-request at brtt.net?subject=subscribe>
> X-AntiAbuse: This header was added to track abuse, please include it with any
abuse report
> X-AntiAbuse: Primary Hostname - gator285.hostgator.com
> X-AntiAbuse: Original Domain - seismo.unr.edu
> X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
> X-AntiAbuse: Sender Address Domain - brtt.net
> X-Virus-Filter: This message passed through Softlabs AntiVirus 0.7.1
>
More information about the Antelope
mailing list