3 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
How would i take the output of a file dump it into another file while at the same time sorting it?
this is my script..simple i know!?
echo "Enter the file log you wish to use. : "
read file
awk '{print $1,$2,$4,$5}' $file >> list
Im trying to dump it into that list file and sort it at... (6 Replies)
Discussion started by: jspinal
6 Replies
2. UNIX for Dummies Questions & Answers
I try taip this script below...but i have got error.The error message is Input read error..Anybody can see whether my script have problem.Below this is my script:
#!/bin/sh
filename=test.txt
vi $filename <<EndOfCommands
i
This file was created automatically from
a shell script
^ (1 Reply)
Discussion started by: mastercar
1 Replies
3. Programming
i was searching on the net have found a couple of sample programs and was wondering if some could tell me what they do cheers.
main()
{
printf("Executing ls\n");
execl("/bin/ls","ls","-l", (char *)0);
perror("execl failed to run ls");
exit(1);
}
main()
{
int i;
i =... (5 Replies)
Discussion started by: ruffenator
5 Replies
LEARN ABOUT DEBIAN
paranoid::log::email
Paranoid::Log::Email(3pm) User Contributed Perl Documentation Paranoid::Log::Email(3pm)
NAME
Paranoid::Log::Email - Log Facility Email
VERSION
$Id: Email.pm,v 0.82 2010/04/15 23:23:28 acorliss Exp $
SYNOPSIS
use Paranoid::Log;
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
$recipient);
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
[ @recipients ]);
enableFacility('crit-alert', 'email', 'debug', '+', $mailhost,
$recipient, $sender, $subject);
DESCRIPTION
This module implements an e-mail transport for messages sent to the logger. It supports one or more recipients as well as overriding the
sender address and subject line. It also supports connecting to a remote mail server.
DEPENDENCIES
o Net::SMTP
o Net::Domain
o Paranoid::Debug
SUBROUTINES
/METHODS
NOTE: Given that this module is not intended to be used directly nothing is exported.
init
log
remove
dump
SEE ALSO
o Paranoid::Log
BUGS AND LIMITATIONS
No validation of any information, be it the mail server, recipient, or anything else is done until a message actually needs to be sent.
Because of this you may have no warning of any misconfigurations just by enabling the facility.
AUTHOR
Arthur Corliss (corliss@digitalmages.com)
LICENSE AND COPYRIGHT
This software is licensed under the same terms as Perl, itself. Please see http://dev.perl.org/licenses/ for more information.
(c) 2005, Arthur Corliss (corliss@digitalmages.com)
perl v5.14.2 2010-04-15 Paranoid::Log::Email(3pm)