Sponsored Content
Top Forums Shell Programming and Scripting how to duplicate an output in shell script Post 302602748 by Arun_Linux on Tuesday 28th of February 2012 08:42:16 AM
Old 02-28-2012
Java thanks

thanks.. this what i was expecting..
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Duplicate output without tee

Hi, Is there anyway to duplicate output without using tee? Let me explain the problem. We are use ssh to login to remote server and save output to a file using tee commands for auditing purposes. When we use vi editor in ssh session, letters get garbled and cant really use vi. Without tee it... (7 Replies)
Discussion started by: eagles1
7 Replies

2. Shell Programming and Scripting

[How To?] Run shell script and get output into another shell.

Hi guys, I have a simple question, I want to store the output of the following command: As you can see it is running all the time, and we get a new line every 3sec. I just want to store these new lines into a single variable, so I can use it into a script. To clear the screen, and... (4 Replies)
Discussion started by: Thireus
4 Replies

3. Shell Programming and Scripting

shell script no output

xxxxxx (4 Replies)
Discussion started by: vinayrao
4 Replies

4. Shell Programming and Scripting

Shell Script to Create non-duplicate lists from two lists

File_A contains Strings: a b c d File_B contains Strings: a c z Need to have script written in either sh or ksh. Derive resultant files (File_New_A and File_New_B) from lists File_A and File_B where string elements in File_New_A and File_New_B are listed below. Resultant... (7 Replies)
Discussion started by: mlv_99
7 Replies

5. Shell Programming and Scripting

Shell Script output

Hi All, Below is the shell script for which desired output is required: Shell script: #!/bin/bash . /oracle/TEST/db/tech_st/11.1.0/TEST_<hostname>.env sqlplus /nolog << EOF connect / as sysdba spool /home/oracle/db_output.log @lockwait.sql prompt Database Locks ... (1 Reply)
Discussion started by: a1_win
1 Replies

6. Shell Programming and Scripting

Shell script to compare two files for duplicate..??

Hi , I had a requirement to compare two files whether the two files are same or different .... like(files contaisn of two columns each) file1.txt 121343432213 1234 64564564646 2345 343423424234 2456 file2.txt 121343432213 1234 64564564646 2345 31231313123 3455 how to... (2 Replies)
Discussion started by: hemanthsaikumar
2 Replies

7. Shell Programming and Scripting

Shell script to get duplicate string

Hi All, I have a requirement where I have to get the duplicate string count and uniq error message. Below is my file: Rejected - Error on table TableA, column ColA. Error String 1. Rejected - Error on table TableA, column ColB. Error String 2. Rejected - Error on table TableA, column... (6 Replies)
Discussion started by: Deekhari
6 Replies

8. Shell Programming and Scripting

Shell Script function to use script name for log file output

Hi Team - I"m very new to Shell Scripting so I have a rather novice question. My forte is Windows Batch Scripting so I was just wondering what the Shell Script equivalent is to the DOS command %~n? %~n is a DOS variable that dispayed the script name. For instance (in DOS): REM... (11 Replies)
Discussion started by: SIMMS7400
11 Replies

9. Shell Programming and Scripting

A shell script to run a script which don't get terminated and send a pattern from the output by mail

Hi Guys, I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies

10. UNIX for Beginners Questions & Answers

Shell script to call and sort awk script and output

I'm trying to create a shell script that takes a awk script that I wrote and a filename as an argument. I was able to get that done but I'm having trouble figuring out how to keep the header of the output at the top but sort the rest of the rows alphabetically. This is what I have now but it is... (1 Reply)
Discussion started by: Eric7giants
1 Replies
Gnome2::GConf::Engine(3pm)				User Contributed Perl Documentation				Gnome2::GConf::Engine(3pm)

NAME
Gnome2::GConf::Engine - A Configuration Engine SYNOPSIS
DESCRIPTION
Gnome2::GConf::Engine is the Perl binding for the "GConfEngine" object. A GConfEngine is a configuration engine, that is a stack of config sources. Normally, there's just one of these on the system. Gnome2::GConf::Engine provides a low-level interface for accessing GConf data; you should normally use a Gnome2::GConf::Client inside your code. SEE ALSO
Gnome2::GConf(3pm), Gnome2::GConf::Value(3pm), Gnome2::GConf::ChangeSet(3pm). HIERARCHY
Glib::Boxed +----Gnome2::GConf::Engine METHODS
list = $engine->all_dirs ($dir) o $dir (string) This method returns an array containing all the directories in a given directory. list = $engine->all_entries ($dir) o $dir (string) This method returns an array containing all the entries of a given directory. boolean = $engine->associate_schema ($key, $schema_key) o $key (string) o $schema_key (string) Associate a schema to a key. $schema_key should have a schema (if $key stores a value) or a dir full of schemas (if $key stores a directory name) changeset = $engine->change_set_from_current ($key, ...) o ... (list) list of keys to add to the changeset Create a Gnome2::GConf::ChangeSet from a list of keys inside the GConf database. boolean = $engine->commit_change_set ($cs, $remove_committed) (boolean, changeset) = $engine->commit_change_set ($cs, $remove_committed) o $cs (changeset) o $remove_committed (boolean) Commit a given Gnome2::GConf::ChangeSet. In scalar context, or if $remove_committed is FALSE, return a boolean value; otherwise, return the boolean value and the Gnome2::GConf::ChangeSet $cs, pruned of the successfully committed changes. engine = Gnome2::GConf::Engine->get_default Get the default Gnome2::GConf::Engine. boolean = $engine->dir_exists ($dir) o $dir (string) engine or undef = Gnome2::GConf::Engine->get_for_address ($address) o $address (string) Create a Gnome2::GConf::Engine for the given address. engine or undef = Gnome2::GConf::Engine->get_for_addresses (...) o ... (list) Create a Gnome2::GConf::Engine for the given addresses. Since: gconf 2.7 value = $engine->get ($key) o $key (string) Fetch and return the Gnome2::GConf::Value bound to the given $key. This overrides Glib::Object's "get", so you'll want to use "$object->get_property" to get object's properties. boolean = $engine->set ($key, $value) o $key (string) o $value (value) Set the Gnome2::GConf::Value bound to the given key. integer = $engine->notify_add ($namespace_section, $func, $data=undef) o $namespace_section (string) o $func (scalar) o $data (scalar) $engine->notify_remove ($cnxn_id) o $cnxn_id (integer) $engine->remove_dir ($dir) o $dir (string) changeset = $engine->reverse_change_set ($cs) o $cs (changeset) Create a change set that would revert the given change set for the given Gnome2::GConf::Engine. $engine->suggest_sync boolean = $engine->unset ($key) o $key (string) Unset the given key. value = $engine->get_with_locale ($key, $locale) o $key (string) o $locale (string) Fetch and return the Gnome2::GConf::Value bound to the given $key, for a specific $locale. Locale only matters if you are expecting to get a schema, or if you don't know what you are expecting and it might be a schema. Note that Gnome2::GConf::Engine::get automatically uses the current locale, which is normally what you want. value = $engine->get_without_default ($key) o $key (string) Fetch the Gnome2::GConf::Value bound to the given key, without returning the default value (specified inside the schema) if the key is unset. SEE ALSO
Gnome2::GConf, Glib::Boxed COPYRIGHT
Copyright (C) 2003-2006 by the gtk2-perl team. This software is licensed under the LGPL. See Gnome2::GConf for a full notice. perl v5.14.2 2011-11-17 Gnome2::GConf::Engine(3pm)
All times are GMT -4. The time now is 03:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy