The problem is /home/home1/2.sh >> $OFILE is not working.
Script 2.sh output should be redirected to $OFILE which is not happening.
When i am running the command
it is not working.
Inside 2.sh script I am redirecting the output of this script to a filename1 and then mailing the output.
Hi:
I am currently working on a program which requires direct its ouput to a file here is an example
./proram arg_1 arg_2
when program ends all output will be arg_2 file
Is that possible I am not a bad programmer, However I am stuck there.
Can anyone give a hint?
Thanks
SW (1 Reply)
Ahhhrrrggg I'm having a brain fart...
I want to take the output of a command and redirect it to a file...
This works....
$ man cp | cat >> copy_help
but this doesn't
keytool -help |cat >> keytool_help
It just produces... these lines...
more keytool_help
] ...
... (11 Replies)
I'm writing a script using file descriptor 2 (std error) to send an email only if the command fails or errors out but the script always emails me irrepective of whether it fails or not. It will not email the /tmp/check.error file output if doesn't error out just the mail with the subject "Cannot... (3 Replies)
I currently have an expect script that issues the 'mail' command and sends an 'x' when it receives the & prompt from mail to quit.
The expect script is able to do stty rows 100 columns 200 < $spawn_out(slave,name) to set up the number of columns and rows.
I would like to get rid of the expect... (0 Replies)
hi,
i wat to get the output of a grep command in a file. but when i am trying out the same grep command in the unix prompt its working fine.. i am getting the output properly.. but when i am writing the same command inside my shell script , its just creating a new output file with no contents... (11 Replies)
Hi,
I have a process running in the background, which throws up some output to the terminal when I run my script. How can I read this output from my script?
Thank you. (5 Replies)
Below script perfectly works, giving below mail output. BUT, I want to make the script mail only if there are any D-Defined/T-Transition/B-Broken State WPARs and also to copy the output generated during monitoring to a temporary log file, which gets cleaned up every week. Need suggestions.
... (4 Replies)
Hi,
I'd like to redirect the STDOUT output from my script to a file and simultaneously display it at a console.
I've tried this command:
myscript.sh | tail -f
However, it doesn't end after the script finishes running
I've also tried this:
myscript.sh | tee ~/results.txt
But it writes... (3 Replies)
hi,
i have a html form which call a perl program, this perl program calls a shell script.
<html>
<head>
<title>demo</title>
</head>
<body>
<form name="frm1" action="/cgi-bin/perl_script.pl" method="post">
<input type="text" name="fname">
... (1 Reply)
i have simple program that generate log file 1 line every sec, i need to do grep for specific record then redirect to another file.
#!/bin/bash
for i in `seq 1 20`;
do
echo $i
sleep 1
done
./test.sh |egrep "5|10|15"
5
10
15
r
./test.sh... (2 Replies)
Discussion started by: before4
2 Replies
LEARN ABOUT DEBIAN
texi2dvi4a2ps
TEXI2DVI(1) FSF TEXI2DVI(1)NAME
texi2dvi4a2ps - Compile Texinfo and LaTeX files to DVI or PDF
SYNOPSIS
texi2dvi4a2ps [OPTION]... FILE...
DESCRIPTION
Run each Texinfo or LaTeX FILE through TeX in turn until all cross-references are resolved, building all indices. The directory containing
each FILE is searched for included files. The suffix of FILE is used to determine its language (LaTeX or Texinfo).
Makeinfo is used to perform Texinfo macro expansion before running TeX when needed.
Operation modes:
-b, --batch
no interaction
-c, --clean
remove all auxiliary files
-D, --debug
turn on shell debugging (set -x)
-h, --help
display this help and exit successfully
-o, --output=OFILE
leave output in OFILE (implies --clean); Only one input FILE may be specified in this case
-q, --quiet
no output unless errors (implies --batch)
-s, --silent
same as --quiet
-v, --version
display version information and exit successfully
-V, --verbose
report on what is done
TeX tuning:
-@ use @input instead of input; for preloaded Texinfo
-e, --expand
force macro expansion using makeinfo
-I DIR search DIR for Texinfo files
-l, --language=LANG
specify the LANG of FILE (LaTeX or Texinfo)
-p, --pdf
use pdftex or pdflatex for processing
-t, --texinfo=CMD
insert CMD after @setfilename in copy of input file multiple values accumulate
The values of the BIBTEX, LATEX (or PDFLATEX), MAKEINDEX, MAKEINFO, TEX (or PDFTEX), and TEXINDEX environment variables are used to run
those commands, if they are set.
REPORTING BUGS
Email bug reports to <bug-texinfo@gnu.org>, general questions and discussion to <help-texinfo@gnu.org>. Texinfo home page:
http://www.gnu.org/software/texinfo/
COPYRIGHT
Copyright (C) 2002 Free Software Foundation, Inc. There is NO warranty. You may redistribute this software under the terms of the GNU
General Public License. For more information about these matters, see the files named COPYING.
SEE ALSO
texi2dvi4a2ps is exactly the same script as texi2dvi, part of the package GNU Texinfo. It is used by a2ps when delegating LaTeX and Tex-
info files. Instead of checking whether the version of texi2dvi which is installed is recent enough, it is more convenient for the users
that a2ps is shipped with the version of texi2dvi it requires. a2ps(1), card(1), fixps(1), pdiff(1), psset(1), texi2dvi4a2ps(1).
The full documentation for texi2dvi is maintained as a Texinfo manual. If the info and texi2dvi programs are properly installed at your
site, the command
info texi2dvi
should give you access to the complete manual.
GNU Texinfo 4.1 1.1.1.1.2.3 December 2007 TEXI2DVI(1)