Sponsored Content
Full Discussion: Issue with the script
Top Forums Shell Programming and Scripting Issue with the script Post 302348581 by giannicello on Friday 28th of August 2009 03:57:11 PM
Old 08-28-2009
Wow! Thought I was answering the original poster's question.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Bash script: issue changing directories in script

I am working on a script that checks two arguments at the command line. The first argument is a search pattern, the second can be a file or a directory, if it is a file a second script is called that checks it for the search pattern. If the second argument is a directory, it checks for the search... (5 Replies)
Discussion started by: Breakology
5 Replies

2. Shell Programming and Scripting

Script running from another script issue

Hello All, I am ruuning the below script. userchecking.sh ########################### #! /bin/ksh NIS_SCRIPT_HOME="/mot/systems/NIS_SCRIPT_NEW" . $NIS_SCRIPT_HOME/common.env WORK_DIR="/mot/systems/scripts/" #WORK_DIR="/mot/b36376/myscripts/nis_user_automation"... (1 Reply)
Discussion started by: ajaincv
1 Replies

3. Shell Programming and Scripting

Script Issue

#!/bin/bash ########################################### ADMIN="usera@mblonline.com" AMQ="userb@mblonline.com" SUBJECT="Remote Shutdown Client Status" MAIL="/bin/mail" ########################################### DAT=`date '+%d-%b-%Y'` PLUGIN="/usr/lib/nagios/plugins/check_nrpe" PORT="5666"... (2 Replies)
Discussion started by: telnor
2 Replies

4. Shell Programming and Scripting

What is issue with this script?

#!/bin/ksh i=1 while do j=0 while do echo "$i" j =`expr $j + 1` done i=`expr $i + 1` done (19 Replies)
Discussion started by: targetshell
19 Replies

5. Shell Programming and Scripting

Script issue

Hi Folks, I am going through a sample script which is not working. Also i want to understand the certain syntaxes #!/bin/sh clear x="y" echo "enter ur 1st no." read n1 echo "enter ur 2nd no." read n2 while do clear echo "1.sum" echo "2.subtraction" echo "3.product"... (3 Replies)
Discussion started by: rafa_fed2
3 Replies

6. Shell Programming and Scripting

Issue with script

Hi, I have a script which when i run in manually it runs properly, but when i run the same script using UC4 scheduler it dose not run properly. Below is the code i am using. i am not sure what is happening when i run this through UC4 the files are not generated. but when i run this manually it... (1 Reply)
Discussion started by: Mohammed_Tabish
1 Replies

7. Shell Programming and Scripting

Issue with the script

I am trying to run a script which ftp the files from one server to another. Below is the script - #!/bin/bash echo "Please enter no : " read variable echo "You entered: $input_variable" host=xxxxx USER=xxx PASSWORD=xxx ftp -inv $HOST <<EOF user $USER $PASSWORD cd... (4 Replies)
Discussion started by: chandraprakash
4 Replies

8. Shell Programming and Scripting

Issue in Script

I developed a script to group by 1st column and sum few of the column which are required, but while executing sum of 2nd column which has decimals in place is not getting correct sum. below is the script awk -F, '{a+=$2;b+=$33;c+=$58;d+=$11;e+=$50;}END{for(i in a)printf... (2 Replies)
Discussion started by: rramkrishnas
2 Replies

9. Shell Programming and Scripting

Issue with script

Hi, I am running below script using autosys. Though the script is running fine, it fails the workflow but the autosys job shows success. Can you please let me know where can i make change to script:- #!/bin/ksh #to test mail from directory set -x frequency=$1 param_file=/local/test... (4 Replies)
Discussion started by: rajrishi990
4 Replies

10. Shell Programming and Scripting

Issue with pwd for script run by double click on script (MacOS High SIerra)

Hello, I have the following script that just archives and clears some log files. #!/bin/bash # script: archive_logs_and_clear # add date to logfile names and copy archive directory # clear logs # change to script directory cd ... (4 Replies)
Discussion started by: LMHmedchem
4 Replies
News::Scan::Poster(3pm) 				User Contributed Perl Documentation				   News::Scan::Poster(3pm)

NAME
News::Scan::Poster - keep track of posters to a newsgroup SYNOPSIS
use News::Scan::Poster; my $poster = News::Scan::Poster->new($news_scan_article_obj); DESCRIPTION
This module provides a class whose objects can be used to keep track of cumulative statistics for posters to a Usenet newsgroup such as header volume or signature lines. CONSTRUCTOR
new ( ARTICLE ) "ARTICLE" should be a "News::Scan::Article" object or inherit from the "News::Scan::Article" class. "new" performs some initialization and returns a "News::Scan::Poster" object. METHODS
address ( [ ADDRESS ] ) Returns the address of this poster represented as a "Mail::Internet" object. If present, "ADDRESS" tells the object that the "Mail::Internet" object in "ADDRESS" is its address. idea. attrib ( [ ATTRIBUTION ] ) Returns some nice attribution for this poster. If present, "ATTRIBUTION" tells the object how it shall identify itself when asked. message_ids ( [ MESSAGE-ID ] ) Returns a list of Message-IDs attributed to this poster. If present, "MESSAGE-ID" is added to this list of this poster's articles. volume Returns the volume in bytes of the traffic generated by this poster. articles Returns the number of articles attributed to this poster. posted_to Returns a hash whose keys are newsgroup names and whose values are the number of times this poster has crossposted to the group of interest and the corresponding newsgroup. crossposts Returns the total number of crossposts this poster has sent through the group of interest. header_volume Returns the volume in bytes generated by this poster's headers. header_lines Returns the number of header lines generated by this poster. body_volume Returns the volume in bytes generated by this poster's message bodies. body_lines Returns the number of body lines generated by this poster. orig_volume Returns the volume in bytes of original content generated by this poster. orig_lines Returns the number of original lines generated by this poster. sig_volume Returns the volume in bytes generated by this poster's signatures. sig_lines Returns the number of signature lines generated by this poster. SEE ALSO
News::Scan, Mail::Address, News::Scan::Article AUTHOR
Greg Bacon <gbacon@cs.uah.edu> COPYRIGHT
Copyright (c) 1997 Greg Bacon. All Rights Reserved. This library is free software. You may distribute and/or modify it under the same terms as Perl itself. perl v5.10.1 2000-04-13 News::Scan::Poster(3pm)
All times are GMT -4. The time now is 01:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy