10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Can i use 'column' command to get the required 3rd column output?
Input example:
1 2 345678 90
2 2 356 42
3 3 8265 55
Output required:
1 2 345678 90
2 2 356 42
3 3 8265 55
Basically i want the 3rd column to be justified to the right, instead of left.... (3 Replies)
Discussion started by: nurul_nadzirah
3 Replies
2. Shell Programming and Scripting
Hi,
PFB the data:
C_Random_130417
Java_Random_130518
Perl_Random_120519
Perl_Random_120528
so the values are ending with year,i.e.,130417
i want to sort the values with date.
i want the output like this:
Perl_Random_120519
Perl_Random_120528
C_Random_130417
Java_Random_130518
can... (5 Replies)
Discussion started by: arindam guha
5 Replies
3. Shell Programming and Scripting
I am fetching a database table in spool file and send that details as a email.
The Spooled file content is properly being displayed in UNIX.
See Example below :
ID|FILENAME |ABCDEF_DT |PROCESSED_DT |STATUS... (4 Replies)
Discussion started by: Ravi_007
4 Replies
4. Shell Programming and Scripting
My actual data looks like below
i have given only format. i can't give exact data format of my requirement due to some reasons. I this set of data lines about 5000
I need to come up with information in below
exact format of my data set :
Line<space>Number1<space>"somedata":... (1 Reply)
Discussion started by: ckaramsetty
1 Replies
5. UNIX for Dummies Questions & Answers
Hi All,
I have a long list made of 4 columns containing entries such as the following example:
a b c d
0 0 0 0
1 2 1 2
2 5 3 4
3 8 4 6
4 10 9 8
5 15 8 10So the top row is the header and I need to arrange the data in a way as to... (11 Replies)
Discussion started by: pawannoel
11 Replies
6. UNIX for Dummies Questions & Answers
Hello guys. I need help figuring this one out. It's probably really easy. Thanks in advance!
I have a file say for example containing this:
Rice Food
Carrots Food
Beans Food
Plates Kitchen
Fork Kitchen
Knives Kitchen
I need:
Food Rice, Carrots, Beans
Kitchen Plates, Fork,... (7 Replies)
Discussion started by: visuelz
7 Replies
7. UNIX for Dummies Questions & Answers
Hi,
Let's say I have these 3 columns;
NGC1234 6 9
SL899 4 1
NGC1075 8 3
SL709 5 2
And I want to sort the data according to the first column (from a to z) like having them as:
NGC1075 8 3
NGC1234 6 9
SL709 5 2
SL899 4 1
Can that be done... (2 Replies)
Discussion started by: cosmologist
2 Replies
8. Shell Programming and Scripting
Hi,
I have a case where i am connecting to the oracle DB and reading a column value....
Script is in production...it was running fine,,,but suddenly now some times its started giving pain....
Script runs dailly....but sometimes its reading data from Oracle DB and sometimes its not rading the... (2 Replies)
Discussion started by: Sagarddd
2 Replies
9. Shell Programming and Scripting
Hello,
I have a page where multiple fields and their values are displayed. But I am able to sort only a few fields. When I looked into the issue, it is seen that the for each row of info , an unique id is generated and id.txt is generated and saved. Only those fields which are inside that id.txt... (3 Replies)
Discussion started by: eagercyber
3 Replies
10. UNIX for Dummies Questions & Answers
Hello. I have an RS/6000 running AIX 4 and I need to be able to see if there are any users that are logged on more than once from the same terminal so I can kick them off to make room for other terminals. 64 connections is the limit. Currently I am doing this:
who | more
and then manually... (11 Replies)
Discussion started by: raidzero
11 Replies
UI::Dialog::Backend::Nautilus(3pm) User Contributed Perl Documentation UI::Dialog::Backend::Nautilus(3pm)
NAME
UI::Dialog::Backend::Nautilus
SYNOPSIS
use UI::Dialog::Backend::Nautilus;
my $nautilus = new UI::Dialog::Backend::Nautilus ();
my @paths = $nautilus->paths();
ABSTRACT
UI::Dialog::Backend::Nautilus is simply an OOPerl wrapper around the data provided by the nautilus(1) file manager's scripts feature.
DESCRIPTION
nautilus(1) is a GNOME file manager that has a "right-click" menu for user made scripts (found in the user's ~/.gnome2/nautilus-scripts/
directory). This is an OOPerl interface to the environment variables provided to the scripts during runtime by nautilus. When you use any
of the UI::Dialog meta classes (UI::Dialog, UI::Dialog::GNOME, etc.) access to this backend is provided via the $d->nautilus method. ie:
replace $nautilus with $d->nautilus in the synopsis example (provided you made $d with something like my $d = new UI::Dialog...). Also,
UI::Dialog and friends only load this module when you first use the $d->nautilus method (this may silently fail, but you can test by ref()
for success).
EXPORT
None
INHERITS
None
CONSTRUCTOR
new( @options )
EXAMPLE
my $nautilus = new UI::Dialog::Backend::Nautilus ();
DESCRIPTION
This is the Class Constructor method. It accepts a list of key => value pairs and uses them as the defaults when interacting with
the various widgets.
RETURNS
A blessed object reference of the UI::Dialog::Backend::Nautilus class.
METHODS
path( )
EXAMPLE
my $path = $nautilus->path();
DESCRIPTION
This method examines the NAUTILUS_SCRIPT_CURRENT_URI string uri unescapes and strips it of any prefixing protocol indicators
(file://) then returns the modified string.
RETURNS
a SCALAR.
paths( )
EXAMPLE
my @paths = $nautilus->paths();
DESCRIPTION
This method splits the NAUTILUS_SCRIPT_SELECTED_FILE_PATHS multiline string and returns the ARRAY of selections in the order pro-
vided by nautilus.
RETURNS
an ARRAY.
uri( )
EXAMPLE
my $uri = $nautilus->uri();
DESCRIPTION
This simply returns the NAUTILUS_SCRIPT_CURRENT_URI string.
RETURNS
a SCALAR.
uris( )
EXAMPLE
my @uris = $nautilus->uris();
DESCRIPTION
This method splits the NAUTILUS_SCRIPT_SELECTED_URIS multiline string and returns the ARRAY of selections in the order provided
by nautilus. This does not uri escape or unescape the string.
RETURNS
an ARRAY.
geometry( )
EXAMPLE
my ($h,$w,$x,$y) = $nautilus->geometry();
DESCRIPTION
This method splits the NAUTILUS_SCRIPT_WINDOW_GEOMETRY string and returns and ARRAY of the geometry details provided by nautilus.
The array returned contains the following (in order):
height
width
X-coordinate
Y-coordinate
RETURNS
an ARRAY.
uri_unescape( )
EXAMPLE
my $path = $nautilus->uri_unescape( "file:///path/to/somewhere" );
my @paths = $nautilus->uri_unescape( "file:///path/to/somewhere",
"file:///yet/another/path" );
DESCRIPTION
This is the method used to unescape the NAUTILUS_SCRIPT_CURRENT_URI in the path() method. This method is derived from the
URI::Escape module which is not included in the Perl core modules yet is vitally necessary for the path() method to function in a
usefull manor.
RETURNS
an ARRAY or a SCALAR depending on the calling arguments.
SEE ALSO
PERLDOC
UI::Dialog
UI::Dialog::Backend
MAN FILES
nautilus(1)
BUGS
Please email the author with any bug reports. Include the name of the
module in the subject line.
AUTHOR
Kevin C. Krinke, E<lt>kckrinke@opendoorsoftware.comE<gt>
COPYRIGHT AND LICENSE
Copyright (C) 2003 Kevin C. Krinke <kckrinke@opendoorsoftware.com>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
perl v5.8.8 2004-08-01 UI::Dialog::Backend::Nautilus(3pm)