04-07-2006
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Good day!
I am trying to learn how to use the "sed" editor, to perform multiple edits on multiple files in multiple directories.
I have one script that tries to call up each file and process it according to the edits listed in a second script. I am using a small input text to test these, at... (12 Replies)
Discussion started by: kielitaide
12 Replies
2. UNIX for Dummies Questions & Answers
All,
I am an intermediate user, and am running SAS on a nice Solaris machine. However, even when top says that no other programs are running, the machine will only give me 5-7% processor power. Is this a configuration problem with SAS or the way the server is configured? Is there any way I can... (3 Replies)
Discussion started by: dj_is
3 Replies
3. UNIX for Dummies Questions & Answers
hi guys
just give me some information about multi user facilities that unix offer in cmparison to windows.
Thanx (2 Replies)
Discussion started by: nadman123
2 Replies
4. Solaris
I want to apply patches in multiuser mode but stop logins of other users while I do it?
What is the best way to do this?
I will be connected to the system via a putty session over a serial cable from another system (console is messed up)...
Should I put in a dummy passwd and shadow file... (7 Replies)
Discussion started by: NewSolarisAdmin
7 Replies
5. Shell Programming and Scripting
Hi All,
Please ignore if terminology used is incorrect as I am new to Unix.
I want to create a Multi user input form which looks something like this:
ABCD TOOL
Logged User: abcd12 ... (4 Replies)
Discussion started by: vidhu0007
4 Replies
6. Shell Programming and Scripting
I have a file with data records separated by multiple equals signs, as below.
==========
RECORD 1
==========
RECORD 2
DATA LINE
==========
RECORD 3
==========
RECORD 4
DATA LINE
==========
RECORD 5
DATA LINE
==========
I need to filter out all data from this file where the... (2 Replies)
Discussion started by: Finja
2 Replies
7. Shell Programming and Scripting
Hi,
I have a problem where I need to make this input:
nameRow1a,text1a,text2a,floatValue1a,FloatValue2a,...,floatValue140a
nameRow1b,text1b,text2b,floatValue1b,FloatValue2b,...,floatValue140b
look like this output:
nameRow1a,text1b,text2a,(floatValue1a - floatValue1b),(floatValue2a -... (4 Replies)
Discussion started by: nricardo
4 Replies
8. Programming
I am trying to write a large X app. I have successfully modified my xorg.conf to setup 4 monitors on an NVIDIA Quatro5200. I am trying to modify a simple hello world application to open a window on three of the four monitors. depending on the changes to loop the window creation section and event... (2 Replies)
Discussion started by: advorak
2 Replies
9. Shell Programming and Scripting
Input File:
>Seq1
ASDADAFASFASFADGSDGFSDFSDFSDFSDFSDFSDFSDFSDFSDFSDFSD
>Seq2
SDASDAQEQWEQeqAdfaasd
>Seq3
ASDSALGHIUDFJANCAGPATHLACJHPAUTYNJKG
......
Desired Output File
>Seq1
ASDADAFASF
ASFADGSDGF
SDFSDFSDFS
DFSDFSDFSD
FSDFSDFSDF
SD
>Seq2 (4 Replies)
Discussion started by: patrick87
4 Replies
LEARN ABOUT DEBIAN
sort::key::multi
Sort::Key::Multi(3pm) User Contributed Perl Documentation Sort::Key::Multi(3pm)
NAME
Sort::Key::Multi - simple multikey sorts
SYNOPSIS
use Sort::Key::Multi qw(sikeysort);
my @data = qw(foo0 foo1 bar34 bar0 bar34 bar33 doz4)
my @sisorted = sikeysort { /(w+)(d+)/} @data;
DESCRIPTION
Sort::Key::Multi creates multikey sorting subroutines and exports them to the caller package.
The names of the sorters are of the form "xxxkeysort" or "xxxkeysort_inplace", where "xxx" determines the number and types of the keys as
follows:
+ "i" indicates an integer key, "u" indicates an unsigned integer key, "n" indicates a numeric key, "s" indicates a string key and "l"
indicates a string key that obeys locale order configuration.
+ Type characters can be prefixed by "r" to indicate reverse order.
+ A number following a type character indicates that the key type has to be repeated as many times (for instance "i3" is equivalent to
"iii" and "rs2" is equivalent to "rsrs").
+ Underscores ("_") can be freely used between type indicators.
For instace:
use Key::Sort::Multi qw(iirskeysort
i2rskeysort
i_i_rs__keysort
i2rs_keysort);
exports to the caller package fourth identical sorting functions that take two integer keys that are sorted in ascending order and one
string key that is sorted in descending order.
The generated sorters take as first argument a subroutine that is used to extract the keys from the values which are passed inside $_, for
example:
my @data = qw(1.3.foo 1.3.bar 2.3.bar 1.4.bar 1.7.foo);
my @s = i2rs_keysort { split /./, $_ } @data;
SEE ALSO
For a more general multikey sorter generator see Sort::Key::Maker.
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Salvador Fandin~o <sfandino@yahoo.com>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.4 or,
at your option, any later version of Perl 5 you may have available.
perl v5.14.2 2010-04-16 Sort::Key::Multi(3pm)