11-18-2008
check if the variable LOGDIR is empty after the "read". if so set it to the (before) saved value.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi everybody,
I have a *.vbs file which I want to run automatically. I want to know if there is anyway to implement the given example
for e.g "http://255.255.255.55/script.vbs"
what I mean is does anyone know how to make an http request from a unix script??
Thanks in advance!!!!!!!!!!! (1 Reply)
Discussion started by: arksal
1 Replies
2. Solaris
Hi I'm a IT manager &, as were taking on Solaris boxes looking for information on Solaris 10 features \ exam material to revise on...
I'm already a Solaris SCSA, version 8
I have Sun's bigadmin plus opensolaris (though unsure of how much this would help
thanx in advance
... (13 Replies)
Discussion started by: stevie_velvet
13 Replies
3. UNIX for Advanced & Expert Users
I am creating a package(Solaris10 on sparc) that needs user input.
As I understand it, I need to use a request script.
My problem is that the value I set in my request script is not visible in my postinstall script. Not sure if I am doing it right.
Here is an example request script... (4 Replies)
Discussion started by: Tornado
4 Replies
4. UNIX for Advanced & Expert Users
Here is request script:
#!/bin/sh
echo "Current install root path is "
CONFIRM="n"
while
do
BASEDIR=""
while true
do
echo please input install root path then press :
read BASEDIR
if
then
echo... (6 Replies)
Discussion started by: kingpmp
6 Replies
5. Shell Programming and Scripting
Dear friends,
I'm struggling to preparing a bunch of gaussian input files, say manually. It's really a time-consuming work without any techniques. I suppose that it could be done by a smart script automatically. But I lack some basic knowledge on scripting. Please help!
My original input... (4 Replies)
Discussion started by: liuzhencc
4 Replies
6. Shell Programming and Scripting
I've a master file which will contain 100 file names, The script should read file name from a master file and format the file as below in AIX.
input file
Filename
This
is
a
test
file
Output File
Filename|This is a test file
Thanks in advance
for file in $FileList; do (5 Replies)
Discussion started by: udayakumar
5 Replies
7. Shell Programming and Scripting
When using a browser and calling this url .. the data returns the proper range of information
ichart dot finance dot yahoo dot com/table.csv?s=YAHOO&a=3&b=14&c=2012&d=03&e=20&f=2012&g=d&ignore.csv
(geeze wont let me post url's sorry )
However in my script the formatting is messing up on... (4 Replies)
Discussion started by: harte
4 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am a newbie,
I am looking for a script that can capture logs based on a request id and store it in tmp folder
Log files looks like this"
- 2015-07-08 10:59:17,100 INFO RequestId -> 923559008 Inside test method
- 2015-07-08 10:59:17,100 INFO RequestId -> 923559008 End of... (2 Replies)
Discussion started by: tsingh
2 Replies
9. Shell Programming and Scripting
Hello;
I'm having about 800 log files and i'm trying to write a script that report the counts of lines per second or "requests per second" in each log file and report the output which includes the timestamp for the highest lines per second count and the log file name and the highest number per... (5 Replies)
Discussion started by: Katkota
5 Replies
RNMAIL(1) General Commands Manual RNMAIL(1)
NAME
Rnmail - a program for replying via mail
SYNOPSIS
Rnmail destination_list
or
Rnmail -h headerfile [oldarticle]
or
Rnmail
DESCRIPTION
Rnmail is a friendly interface for mailing replies to news articles. It will ask several questions, then allow you to enter your letter,
and then mail it off. If you type h and a carriage return at any point, Rnmail will tell you what it wants to know.
The -h form is used when invoked from rn. If your editor can edit multiple files, and you want the article to which you are replying to
show up as an alternate file, define the environment variable MAILPOSTER as "Rnmail -h %h %A". You can also modify the the MAILHEADER
environment variable to change the header file that rn passes to Rnmail.
ENVIRONMENT
DOTDIR If defined, specifies a place other than your home directory where 'dot' files may be stored. This is primarily for accounts which
are shared by more than one person.
Default: $HOME
EDITOR The editor you want to use, if VISUAL is undefined.
Default: whatever your news administrator installed, usually vi.
HOME Your home directory.
Default: $LOGDIR
LOGDIR Your home directory if HOME is undefined.
LOGNAME Your login name, if USER is undefined.
Default: value of "whoami".
MAILRECORD
If defined, contains the name of a file to which the finished message will be appended.
Default: message not saved
ORGANIZATION
Either the name of your organization, or the name of a file containing the name of your organization.
Default: whatever your news administrator chose.
USER Your login name.
Default: $LOGNAME
VISUAL The editor you want to use.
Default: $EDITOR
FILES
$DOTDIR/.letter
~/dead.letter
SEE ALSO
rn(1), Pnews(1), mail(1)
DIAGNOSTICS
BUGS
Uses /bin/mail in the absence of sendmail.
LOCAL RNMAIL(1)