12-14-2012
Do you mind showing what you have done so far?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
in my csv file it'll look like this, and of course it may have more columns
US to UK;abc-hq-jcl;multimedia
UK to CN;def-ny-jkl;standard
DE to DM;abc-ab-klm;critical
FD to YM;la-yr-tym;standard
HY to MC;la-yr-ytm;multimedia
GT to KJ;def-ny-jrt;critical
I would like to group... (4 Replies)
Discussion started by: tententen
4 Replies
2. UNIX for Dummies Questions & Answers
How do you sort a text file that is made up of a single column? (sorting done in alphabetical order)
Example input:
MAP1S
ISYNA1
STAT6
Example output:
ISYNA1
MAP1S
STAT6 (1 Reply)
Discussion started by: evelibertine
1 Replies
3. UNIX for Dummies Questions & Answers
How do you sort a text file that is made up of a single column? (sorting done in alphabetical order)
Example input:
MAP1S
ISYNA1
STAT6
Example output:
ISYNA1
MAP1S
STAT6
Double post (0 Replies)
Discussion started by: evelibertine
0 Replies
4. Shell Programming and Scripting
I have a tab delimited file with 5 columns
79 A B 20.2340 6.1488 8.5086 1.3838
87 A B 0.1310 0.0382 0.0054 0.1413
88 A B 46.1651 99.0000 21.8107 0.2203
89 A B 0.1400 0.1132 0.0151 0.1334
114 A B 0.1088 0.0522 0.0057 0.1083
115 A B... (2 Replies)
Discussion started by: Lucky Ali
2 Replies
5. Shell Programming and Scripting
Hi,
I have the following file, I need to sort it based on a column and write to different output files based on this column
request_guid iso_country_cd address_data response_time
32895901-d17f-414c-ac93-3e7e0f5ec240 AND BaseName:CATALUNYA; HouseNumber:1; ISOCountryCode:AND;... (1 Reply)
Discussion started by: ramky79
1 Replies
6. UNIX for Dummies Questions & Answers
I would like to sort a tab delimited text file based on the absolute value of its second column. How do I go about doing that? Thanks!
Example input:
A -12
B 0
C -6
D 7
Output:
A -12
D 7
C -6
B 0 (4 Replies)
Discussion started by: evelibertine
4 Replies
7. Shell Programming and Scripting
Hi,
I use UBUNTU 12.04.
I have a file with this structure:
Name 2 1245787 A G 12 14 12 14 ....
Name 1 1245789 C T 13 12 12 12.....
I would like to sort my file based on the second column so to have this output for example:
Name 1 1245789 C T 13 12 12 12.....
Name 2 1245787 A G 12 14... (4 Replies)
Discussion started by: Homa
4 Replies
8. Shell Programming and Scripting
hello,
I have a file as follows:
F0100010 A C F0100040 A G BTA-28763-no-rs 77.2692
F0100020 A G F0100030 A T BTA-29334-no-rs 11.4989
F0100030 A T F0100020 A G BTA-29515-no-rs 127.006
F0100040 A G F0100010 A C BTA-29644-no-rs 7.29827
F0100050 A... (9 Replies)
Discussion started by: Homa
9 Replies
9. Shell Programming and Scripting
My scenario is that I need to pick value from third column based on fourth column value, if fourth column value is 1 then first value of third column.Third column (2|3|4|6|1) values are cancatenated.
Main imp point, in my .csv file, third column is having price value with comma (1,20,300), it has... (2 Replies)
Discussion started by: Ganesh L
2 Replies
10. Shell Programming and Scripting
Hello everyone,
I am using ksh on Solaris 10 and I'm gathering data in a CSV file that looks like this:
20170628-23:25:01,1,0,0,1,1,1,1,55,55,1
20170628-23:30:01,1,0,0,1,1,1,1,56,56,1
20170628-23:35:00,1,0,0,1,1,2,1,57,57,2
20170628-23:40:00,1,0,0,1,1,1,1,58,58,2... (6 Replies)
Discussion started by: ejianu
6 Replies
LEARN ABOUT DEBIAN
nnslog
nnslog(3tcl) nnslog(3tcl)
__________________________________________________________________________________________________________________________________________________
NAME
nnslog - Name service facility, Commandline Logging Client Application
SYNOPSIS
nnslog ?-host host? ?-port port?
_________________________________________________________________
DESCRIPTION
Please read Name service facility, introduction first.
The application described by this document, nnslog, is a simple command line client for the nano name service facility provided by the
Tcllib packages nameserv, and nameserv::server.
It essentially implements "nns search -continuous *", but uses a different output formatting. Instead of continuously showing the current
contents of the server in the terminal it simply logs all received add/remove events to stdout.
This name service facility has nothing to do with the Internet's Domain Name System, otherwise known as DNS. If the reader is looking for a
package dealing with that please see either of the packages dns and resolv, both found in Tcllib too.
USE CASES
nnslog was written with the following main use case in mind.
[1] Monitoring the name service for all changes and logging them in a text terminal.
COMMAND LINE
nnslog ?-host host? ?-port port?
The command connects to the specified name service, sets up a search for all changes and then prints all received events to stdout,
with each events on its own line. The command will not exit until it is explicitly terminated by the user. It will especially sur-
vive the loss of the connection to the name service and reestablish the search and log when the connection is restored.
The options to specify the name service will be explained later, in section OPTIONS.
OPTIONS
This section describes all the options available to the user of the application
-host name|ipaddress
If this option is not specified it defaults to localhost. It specifies the name or ip-address of the host the name service to talk
to is running on.
-port number
If this option is not specified it defaults to 38573. It specifies the TCP port the name service to talk to is listening on for
requests.
BUGS, IDEAS, FEEDBACK
This document, and the application it describes, will undoubtedly contain bugs and other problems. Please report such in the category
nameserv of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may
have for either application and/or documentation.
SEE ALSO
nameserv(3tcl), nameserv::common(3tcl)
KEYWORDS
application, client, name service
CATEGORY
Networking
COPYRIGHT
Copyright (c) 2008 Andreas Kupries <andreas_kupries@users.sourceforge.net>
Name service facility 1.0 nnslog(3tcl)