On Mon, 3 Apr 2000, Ravi Malghan wrote: > system("echo \"update alerts.journal set Text1 = > '$PING' where Serial = $ARGV[0];\ngo\nquit\n\" | > /opt/Omnibus/bin/nco_sql -server > NCOMS_DC1 -user root -passwd gtsgroup"); open(NCO, "|/opt/Omnibus/bin/nco_sql -server NCOMS_DC1 -user root -passwd gtsgroup"); print NCO << "END_SQL"; update alerts.journal set Text1 = '$PING' where Serial = $ARGV[0]; go quit END_SQL close(NCO); - Matt P.S. I really hope you're going to change that password. :)
- Breaking single line into multiple lines in code Ravi Malghan
- Matt Carothers