Sponsored Content
Top Forums Shell Programming and Scripting proper ordering of o/p values Post 302278264 by angheloko on Monday 19th of January 2009 10:26:04 PM
Old 01-19-2009
Hi ss,

Why not sort it in the query itself? That would be more faster and easier.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

File ordering by portion of filename

Hi, Lets say I have a few xml files: 1234567894.xml abc_1234567895.xml abc_000_1234567890.xml abc_0000000_1234567893.xml 684_abc_000_1234567899.xml The naming convention of the files is: xxxxx_timestamp.xml OR timestamp.xml where x can be anything and I would like to order them by... (4 Replies)
Discussion started by: Leion
4 Replies

2. Homework & Coursework Questions

word ordering problem HELP please (linux)

Hi guys I need you ,please help me i have to do this for tomorow and i don't understand how to do Q1 : Order the words of RADIO.txt by frequency Q2 : Order the words of RADIO.txt in alphabétique order Q3 : Order the words of RADIO.txt par ordre "rhymique" (exemple, put togeder words which are... (1 Reply)
Discussion started by: Lili
1 Replies

3. Shell Programming and Scripting

ordering a data file

With an input file like this: How can I get an output like this? (In the quoted examples, the "_" sign represents an empty space) Note that there are some minus signs and no spaces, in the example above the first character of the first line is an empty space, so each number spans 10... (16 Replies)
Discussion started by: lego
16 Replies

4. Shell Programming and Scripting

Re-ordering data

input Predictions for job: 1299399580 ********************************************** gg18_qqq10_100017878_100017978_- ============================================================================== zzz Factor: XXX, ttt: crsmsgw, Cutoff: 0.6429 seqe Position fff Coordinate K-mer Score ... (3 Replies)
Discussion started by: quincyjones
3 Replies

5. Shell Programming and Scripting

Re ordering lines - Awk

Is it possible to re-order certain rows as columns (of large files). Few lines from the file for reference. input Splicing Factor: Tra2beta, Motif: aaguguu, Cutoff: 0.5000 Sequence Position Genomic Coordinate K-mer Score 97 chr1:67052604 uacuguu 0.571 147... (3 Replies)
Discussion started by: quincyjones
3 Replies

6. Shell Programming and Scripting

ordering

file1 1 SNP2 3 1 SNP3 3 1 SNP5 4 2 SNP1 4 2 SNP4 4 file2 SNP1 1 1 1 SNP5 5 5 5 SNP4 4 4 4 SNP2 2 2 2 SNP3 1 1 1 desired output (1 Reply)
Discussion started by: johnkim0806
1 Replies

7. Shell Programming and Scripting

Random ordering

1 2 4 5 3 I would like to use a script so that i can randomly rearrange these numbers such as 3 5 2 4 1 Thanks! (3 Replies)
Discussion started by: johnkim0806
3 Replies

8. Shell Programming and Scripting

Ordering Folders having Date as Names

Hi All, I have directories under /development/arun/weekly/ 20120421 20120414 . . . . I need to arrange these directories in descending order. folder name with recent date will be on top and then others. (1 Reply)
Discussion started by: Arun Mishra
1 Replies

9. Shell Programming and Scripting

Ordering batch number

Hi, Could some one please help to order the batch number in sequence. I will be getting bunch of files with batch number in folder1 which are not in sequence. I need to move all files from folder1 to folder2 with batch number in sequence. Header record looks like PROCESS1... (8 Replies)
Discussion started by: zooby
8 Replies

10. Shell Programming and Scripting

Bash - re-ordering list of parameters

Hello. I have a script that writes parameters in alphabetic order. But I have a parameter which have 3 lines. There is no continuation character ( '\' ). Each of the three lines finish with 'cr'. But line 2 and 3 of the concerning parameter start with a tab char (but should be one or more... (7 Replies)
Discussion started by: jcdole
7 Replies
eurephiadm lastlog(7)													     eurephiadm lastlog(7)

NAME
eurephiadm-lastlog - View the eurephia lastlog SYNOPSIS
eurephiadm lastlog [-v|--verbose] [-S|--sortkeys <sort keys>] [<FILTER arguments>] DESCRIPTION
This command will query the lastlog records, which contains information about all logins done with the eurephia-auth plug-in. OPTIONS
-S | --sortkeys <sort key>[,<sort key>[,<sort key>]...] Sorting order of the report. More sort keys can be given, separated by comma. The available sort keys are: uid : User ID certid : Certificate ID ip : IP address where the client connects from vpnip : Assigned IP address on the VPN client status : eurephia connection status login : When the client logged in logout : When the client logged out username : eurephia username macaddr : MAC address of the TUN/TAP interface on the VPN client uicid : User ID/Certificate ID link ID. Related to the IDs provided by eurephiadm usercerts -v | --verbose View detailed lastlog FILTERS
The filters can help reducing the amount of data being reported. Multiple filters may be added, but they will only work as additional "AND" arguments in the query. -c | --certid <Certificate ID> Certificate ID -i | --uid <User ID> Numeric user ID -u | --username <User name> User name -I | --ip-addr <IP address> IP address of remote host -s | --login <YYYY-MM-DD> Login time -e | --logout <YYYY-MM-DD> Logout time -m | --mac-addr <TUN/TAP MAC address> MAC address of remote VPN interface of the client -a | --uicid <Access ID> User ID/Certificate ID link ID. Related to the IDs provided by eurephiadm usercerts SEE ALSO
eurephiadm(7), eurephiadm-certs(7), eurephiadm-users(7), eurephiadm-usercerts(7) AUTHOR
Copyright (C) 2008-2010 David Sommerseth <dazo@users.sourceforge.net> David Sommerseth July 2010 eurephiadm lastlog(7)
All times are GMT -4. The time now is 08:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy