I am trying to do some thing like this ..
In a file , if pattern found insert new pattern at the begining of the line containing the pattern.
example:
in a file I have this.
gtrow0unit1/gctunit_crrownorth_stage5_outnet_feedthru_pin
if i find feedthru_pin want to insert !! at the... (7 Replies)
Hi all,
Searched lot in the forum but couldnt find relative post to my requirement..Looking forward for the solution.
I am basically having a huge file with repeated digits which is getting tuff to track so would want to place a delimiter in between for better clarity..
Input
4 0 4... (1 Reply)
I have a list like this:
todu
todo
tofe
tafo
I want to grep only the lines where the 2nd and the 4th character are the same.
In this case I would get only "todo".
Thanks. (3 Replies)
Hi,
I need the total of how many times the pattern is being repeated in a particular file.
I tried with grep as below, but no go.
grep -c best sample
Contents of Sample file:
-----------------------
This is the best site I have never come across. The best one indeed.
Very best... (8 Replies)
Right now, my code is:
s/Secondary Ins./Secondary Ins.\
1/g
It's adding a 1 as soon as it finds Secondary Ins.
Primary Ins.: MEDICARE B DMERC Secondary Ins.
1: CONTINENTAL LIFE INS
What I really want to achieve is having a 1 added on the next line that contain "Secondary Ins." It... (4 Replies)
Hello all,
after spending hours of searching the web I decided to create an account here. This is my first post and I hope one of the experts can help.
I need to resolve a grep / sed / xargs / awk problem.
My input file is just like this:
----------------------------------... (6 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... (2 Replies)
Hi all,
I have a file that looks like this:
uid=bessemsj
version: 1
dn: cn=Desk SpecialAdminDesk, ou=Desks, dc=DSS,c=nl,o=Vodafone
dn: cn=DSS Advisors, ou=Groups, dc=DSS,c=nl,o=Vodafone
dn: cn=DSS Dispatcher,ou=Groups,dc=DSS,c=nl,o=Vodafone
dn: cn=Desk Retention Desk,ou=Desks,... (13 Replies)
I had a spot of trouble coming up with a title, hopefully you'll understand once you read my problem... :)
I have the output of an ldapsearch that looks like this:
dn: cn=sam,ou=company,o=com
uidNumber: 7174
gidNumber: 49563
homeDirectory: /home/sam
loginshell: /bin/bash
uid: sam... (2 Replies)
Hello guys,
I have problem with hpux shell script. I have one big text file that contains like
SOH
bla bla bla
bla bla bla
ETX SOH
bla bla bla
ETX
SOH
bla bla bla
ETX
What I need to do is save first SOH*BLA into file1.txt, save second SOH*BLA into file2.txt and so on.... (17 Replies)
Discussion started by: sembii
17 Replies
LEARN ABOUT SUSE
tntnet
tntnet(8) Tntnet users guide tntnet(8)NAME
tntnet - web application server for c++
SYNOPSIS
tntnet [-c file] [--logall]
tntnet -C [-q query-string] [componentId ...]
DESCRIPTION
This manual page documents briefly the tntnet command.
tntnet is a web server that can generate dynamic content via precompiled C++ modules.
OPTIONS
A summary of options is included below.
-c file
Use file as the configuration file. If the -c is omitted, the first nonoption argument is used as the config file.
--logall
Initialize logging earlier. Normally logging is initialized after starting the listeners and changing user so that logfiles are cre-
ated with the right owner. For debugging reasons this option forces to do that earlier.
-C Call components and print the result to stdout instead of starting tntnet as a webserver
-q query-string
In -C mode pass this query string to the component. The option may be repeated multiple times to pass name-value-pairs easily.
EXAMPLE
tntnet -C -q arg1=35 -q arg2=7 -q op=/ calc@calc
calls the component calc@calc with query parameters and prints the result to stdout.
FILES
/etc/tntnet/tntnet.conf The default configuration file.
ENVIRONMENT
TNTNET_CONF
This is checked for the configuration file name if it is not specified on the command line.
AUTHOR
tntnet was written by Tommi Makitalo <tommi@tntnet.org>.
This manual page was written by Kari Pahula <kaol@debian.org>, for the Debian project (but may be used by others).
SEE ALSO tntnet-config(1), ecpp(7), ecppc(1), ecppl(1), ecppll(1), tntnet.conf(7), tntnet.properties(7).
More documentation can be found in /usr/share/doc/tntnet-doc/.
Tntnet July 23, 2006 tntnet(8)