Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 17th, 2004, 4:12 PM   #1
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old May 17th, 2004, 9:47 PM   #2
lordnothing
Newbie
 
Join Date: Apr 2004
Location: ~/
Posts: 8
Rep Power: 0 lordnothing is on a distinguished road
Send a message via AIM to lordnothing Send a message via MSN to lordnothing
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...)
__________________
int main{
int count;
for(count=0;count&lt;99;count++){
printf(&quot;I will not throw paper airplanes.\n&quot;);}
}
lordnothing is offline   Reply With Quote
Old May 18th, 2004, 8:07 AM   #3
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
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
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old May 18th, 2004, 4:28 PM   #4
lordnothing
Newbie
 
Join Date: Apr 2004
Location: ~/
Posts: 8
Rep Power: 0 lordnothing is on a distinguished road
Send a message via AIM to lordnothing Send a message via MSN to lordnothing
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...
__________________
int main{
int count;
for(count=0;count&lt;99;count++){
printf(&quot;I will not throw paper airplanes.\n&quot;);}
}
lordnothing is offline   Reply With Quote
Old May 18th, 2004, 5:02 PM   #5
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Sounds cool, let me know if you want that manual, let me know.

-Pizentios
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old May 21st, 2004, 7:20 AM   #6
scientica
Newbie
 
scientica's Avatar
 
Join Date: Apr 2004
Location: Sweden
Posts: 10
Rep Power: 0 scientica is on a distinguished road
Send a message via ICQ to scientica
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
__________________
Regards
Scienitca (registered user #335819 - http://counter.li.org )
--
Together in diversity, we each according to ability, to each according to needs, will help this world (to) become better - who did you help today?
scientica is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 8:08 PM.

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