Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Bash / Shell Scripting (http://www.programmingforums.org/forum26.html)
-   -   Bash and Postgresql (http://www.programmingforums.org/showthread.php?t=37)

Pizentios May 17th, 2004 4:12 PM

Hey,

i have a Postgresql Server that a program is connecting to and inputting data. Now what i need is a script that access the Postgres database and then depending on a few values it will email a user with an alert. I have never made a bash script so, even if you guys don't have an idea on how to do what i am asking, some links to some bash reference sites would also be great. Thanks in advance for anything you guys post.

-Pizentios

lordnothing May 17th, 2004 9:47 PM

:

info bash
or
:

man bash

those actually explain a *lot* about scripting and the ins and outs of bash.... (and, no, i haven't read all of them yet... i just looked through them for certain commands i needed...)

Pizentios May 18th, 2004 8:07 AM

ok, thanks, i'll take a look. I downloaded the Advanced Bash SCripting guide last night too. I can email it to you if you want.

-Pizentios

lordnothing May 18th, 2004 4:28 PM

normally, i'd say send it, but right now the language i'm most interested in learning is IA32 asm... then python... after that, i don't know what else...

Pizentios May 18th, 2004 5:02 PM

Sounds cool, let me know if you want that manual, let me know.

-Pizentios

scientica May 21st, 2004 7:20 AM

Quote:

Originally posted by lordnothing@May 18 2004, 11:28 PM
but right now the language i'm most interested in learning is IA32 asm...
[OT]
lordnothing, then I might be able to interest you in fasm? (flatassembler.net)
It's a very good assembler for linux (windows, dos, Menuett OS), and it's still active, unlink nasm (that's written in C/C++) it's writen in it self (sort of like gcc). But what every you do, don't try MASM - it's for windows for the first, and for the second it has a EULA ad modum MS.
[/OT]

* OT = Off-Topic


All times are GMT -5. The time now is 4:36 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC