Makes sense - I've bookmarked the other bit for reading when I'm more awake.
Wanted to come back and post my script, in case anyone had a use for them courtesy of the google machine later. There isn't a lot to it, and the hard part isn't mine per se, but here we go. Should work on any system with TSM server installed (Except Windows, but if you installed TSM on Windows, that's your own damn fault :])
Last edited by Vryali; 05-27-2012 at 07:21 AM..
Reason: Forgot to remove real name :)
Hello Dudes,
I have a task to make a unix shell script that should search for a
specific TEXT in a file.If that TEXT is found, shell script should add
a comment statement before that TEXT line.
Ex : LINE 1 xxxxx
LINE 2 xxxx CALL xxxx
LINE 3 xxxx PERFORM UNTIL
if i... (1 Reply)
hi all,
I am trying to write some message to a file using the following command.
echo "${MESSAGE}" >&1 | tee -a ${File_name}
can the same be done without using echo . I don't want the result to be displayed to the console. Can anyone guide me.
Thanks in advance (6 Replies)
I'm having problems with writing my sql results to a file:
sqlplus -S username/password@DB <<!!
set echo off
set verify off
set showmode off
set feedback off
set timing off
set linesize 250
set wrap off
set pagesize 0
set newpage none
set tab off
set trimspool on
set colsep... (1 Reply)
Hello,
Currently i have a ksh script which will disply the results in plain text format.
I want to format the result in more readable format like Making bold headings and format with colors etc. Something like html or excel format and send that content as email.
Please help me how i can do... (2 Replies)
How can i print the output of a perl script on a unix console and redirect the same in a log file under same directory simultaneously ?
Like in Shell script, we use tee, is there anything in Perl or any other option ? (2 Replies)
Can any one please help, the code works...I want the output of $result to be saved in an output.txt file which is lcoated in c:\\temp\\output.txt.
$filepath="C:\\temp\\ip.txt";
open (HOSTLIST,"$filepath");
@hosts=(<HOSTLIST>);
foreach $host(@hosts)
{
$results = `nslookup... (1 Reply)
Hello Mates
I am trying to write a script, which appends and prepends the text in a file.
I tried testing with a small file and it worked fine.
but for the large file, the script is wiping the entire file and adds only the word to be appended in the file.
mv $file_name $file_name.bak
sed... (6 Replies)
I need to take 2 input files and create 1 output based on matches from each file. I am looking to match field #1 in both files (Userid) and create an output file that will be a combination of fields from
both file1 and file2 if there are any differences in the fields 2,3,4,5,or 6.
Below is an... (5 Replies)
Hi All,
I have written one script in which am writting the result to the log file.
I want to display the results on the console also
if ;
then
echo "$result doesnot match with the host file">>InputHostsFileErrors.txt
else
echo "$result input matches with the host... (7 Replies)
I am writing a shell script with 2 run time arguments. During the execution if i got any error, then it needs to redirected to a error file and in console. Also both error and output to be redirected to a log file. But i am facing the below error.
#! /bin/sh
errExit ()
{
errMsg=`cat... (1 Reply)
Discussion started by: sarathy_a35
1 Replies
LEARN ABOUT DEBIAN
gst-feedback-0.8
gst-feedback-0.8(1) User Commands gst-feedback-0.8(1)NAME
gst-feedback-0.8, gst-feedback - generate debug information for GStreamer bug reports
SYNOPSIS
gst-feedback-0.8
gst-feedback [--gst-list-mm] [--gst-mm=string] [--print]
DESCRIPTION
gst-feedback-0.8 scans the system for various types of information that is useful to GStreamer developers to help diagnose user problems.
Depending on the type of bug report, it might be useful to attach gst-feedback output when you contact the developers.
Note: The current version of this script scans many directories: /usr/lib, /usr/local/lib, /home, /usr/include, /usr/local/include, and
/home (again) for various GStreamer installations. Depending on your system, you might not want to do this.
Note: gst-feedback-0.8 dumps a lot of information about a system. Some of this information might be considered sensitive. If this is a
concern, review the information before posting to a public forum such as the GStreamer bug tracking system.
gst-feedback is a wrapper script that runs the latest installed version of gst-feedback-X.X. For example, if both gst-feedback-0.7 and gst-
feedback-0.8 are installed on your system, gst-feedback runs gst-feedback-0.8.
OPTIONS
The following options are supported by gst-feedback only:
--gst-list-mm List found major/minor versions. This option displays the versions that are available.
--gst-mm=string Force major/minor version. This option enables you to specify a specific version to run, if you do not want to run the
default version.
--print Print wrapped command line. This option displays the command that will be run, and then runs the command.
EXAMPLES
Example 1: Generating Feedback Information
example% gst-feedback-0.8
Example 2: Generating Feedback Information and Redirecting Output and Errors to a File
example% gst-feedback-0.8 &> myfeedback
Example 3: Running the Wrapper Script and Displaying the Command Name
example% gst-feedback --print
/usr/bin/gst-feedback-0.8
FILES
The following files are used by this application:
/usr/bin/gst-feedback-0.Executable to generate debug info for GStreamer bug reports
/usr/bin/gst-feedback Wrapper script that runs the latest installed version of gst-feedback-X.X
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-media |
+-----------------------------+-----------------------------+
|Interface stability |External |
+-----------------------------+-----------------------------+
SEE ALSOgst-complete(1), gst-compprep(1), gst-inspect(1), gst-launch(1), gst-launch-ext(1), gst-md5sum(1), gst-register(1), gst-thumbnail(1), gst-
typefind(1), gst-xmlinspect(1), gst-xmllaunch(1), gstreamer-properties(1), libgstreamer-0.8(3), libgstgetbits(3)NOTES
Original man page written by the GStreamer team at http://gstreamer.net/.
Updated by Brian Cameron, Sun Microsystems Inc., 2004.
SunOS 5.10 14 Oct 2004 gst-feedback-0.8(1)