I have a text file that I want to search for repeated lines and print those lines. These would be lines in the file that appear more than once. Is there a way to do this?
Thanks (4 Replies)
Hi, I need a little help here. I am exporting user info from a PSQL database and everything is working with the exception of this:
10029008:dsAuthMethodStandard\:dsAuthClearText:classword:10029008:2004:10029008:10029008:/home/student/1002/90/08:10029008
It is putting a colon right before the... (1 Reply)
if I wanted to know if the word DOG(followed by several random numbers) appears in col 1, how many times will that same word DOG* appeared in col 2? This is a very large file
Thanks! (7 Replies)
Hi, all.
Here's the problem:
sed '/FOO/,/BAR/p'
That should print anything between FOO and BAR, right?
Well, let's say I have file.txt that contains just one line "how are you today?".
Then I run something like the above and get:
$ sed '/how/,/today/p' file.txt
how are you... (9 Replies)
Hi all,
I want to remove the remove bracket sign ( ) and put in the separate column I also want to remove the repeated entry like in first row in below input (PA156) is repeated
ESR1 (PA156) leflunomide (PA450192) (PA156) leflunomide (PA450192)
CHST3 (PA26503) docetaxel... (4 Replies)
Hello,
I am searching large (~25gb) DNA sequence data in fasta short read format:
>ReadName
ACGTACGTACGT...
for short tandem repeats, meaning instances of any 2-6 character based run that are repeated in tandem a number of times given as an input variable. Seems like a reasonably simple... (3 Replies)
In the below bash processes substitution, if there are 3 files in a directory /home/cmccabe/medex.logs/analysis.log, the filename variable is set to where these files are located.
The code does execute, the problem is that if there is a renamed file in the output directory below, it gets... (0 Replies)
Discussion started by: cmccabe
0 Replies
LEARN ABOUT ULTRIX
rpc_sockaddr_to_name
rpc_sockaddr_to_name(3ncs)rpc_sockaddr_to_name(3ncs)Name
rpc_sockaddr_to_name - convert a socket address to a host name and port number (client or server)
Syntax
#include <idl/c/rpc.h>
void rpc_$sockaddr_to_name(sockaddr, slength, name, nlength, port, status)
socket_$addr_t *sockaddr;
unsigned long slength;
unsigned char name;
unsigned long *nlength;
unsigned long *port;
status_$t *status;
Arguments
sockaddr A socket address.
slength The length, in bytes, of sockaddr.
name A string that contains the host name and the address family. The format is family:host [port] where family is ip.
nlength On input, nlength is the length of the name buffer. On output, nlength is the number of characters returned in the
name parameter.
port The socket port number.
status The completion status. If the completion status returned in is equal to status_$ok , then the routine that supplied it
was successful.
Description
The routine provides the address family, the host name, and the port number identified by the specified socket address.
Diagnostics
This section lists status codes for errors returned by this routine in
rpc_$not_in_call An internal error.
rpc_$proto_error An internal protocol error. This routine has been superseded by the routine.
FilesSee Alsointro(3ncs), rpc_name_to_sockaddr(3ncs), socket_to_name(3ncs)rpc_sockaddr_to_name(3ncs)