03-10-2005
Thanks for the tips, and they performed exactly what I asked for, however I quickly realized that I trying to perform the wrong task.
I do appreciate you time and response. I am going to open a new thread for what I think I really do need to accomplish.
THanks again.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a comma delimited file that sometimes has addresses details in. The problem is that the address detail can be seen as:
"Sample House, Sample Road". When I run a script specifying the file is comma delimited I would like it to ignore comma's that are in between speech marks.
Is this... (2 Replies)
Discussion started by: dbrundrett
2 Replies
2. Shell Programming and Scripting
Hi,
Can anyone let me know on how to convert a Tab delimited file to Comma delimited file in Unix
Thanks!! (22 Replies)
Discussion started by: charan81
22 Replies
3. UNIX for Dummies Questions & Answers
Hi All,
I have output of sql saved in comma separated file.
Now i need to read line by line this file
and assign word to a unix variable for further processing
Eg:
Test file
world, 1, 3, 4
earth,2,3,4,5
moon,1,2,3,4
Output should be
word1= world
word2=1
echo " first word... (7 Replies)
Discussion started by: gwrm
7 Replies
4. Shell Programming and Scripting
All,
I am trying to run a command that will get the serial number, model, and hostname of a server and then output the 3 fields comma delimited.
Then a new line to separate the 3 fields for each host.
So, I run a for loop that reads in the list of hosts in a file and then runs these sudo... (0 Replies)
Discussion started by: markdjones82
0 Replies
5. Shell Programming and Scripting
Hi All,
I have a requirement where I need to go to a directory, list all the files that start with person* (for eg) & read the most recent file from the list of files.
While browsing through the forum, i found that the command ls -t will list the files. I am trying to generate the output... (1 Reply)
Discussion started by: dsfreddie
1 Replies
6. Shell Programming and Scripting
Question about how to change the first & last name in column one & two so that the names have a capital letter for just the first letter. Example:
asdf@asdf.com,asdf,asdfasdf,176.23.22.345,4/12/2012
changed to:
asdf@asdf.com,Asdf,Asdfasdf,176.23.22.345,4/12/2012
Thank you kindly,
Nick (2 Replies)
Discussion started by: nickytcom
2 Replies
7. Shell Programming and Scripting
Hi All,
I need a unix script to convert .csv files to .skv files (changing a comma delimited file to a semi colon delimited file). I am a unix newbie and so don't know where to start. The script will be scheduled using cron and needs to convert each .csv file in a particular folder to a .skv... (4 Replies)
Discussion started by: CarpKing
4 Replies
8. Shell Programming and Scripting
Hello,
Need help...
using egrep how do I make sure string is after 5th comma
example:
a,b,c,d,e,f,g,h,i
Suppose i want to search letter f but want to make sure it is after 5th comma.
Is there any way to check string is after 5th comma?
Thanks !! (9 Replies)
Discussion started by: vegasluxor
9 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
Hi Guys,
I am new on the scripting world and would like ask for help if you can.
Here are my questions... (1 Reply)
Discussion started by: mahiwaga
1 Replies
10. Shell Programming and Scripting
Hi,
I am wanting to create a script that will construct a SQL statement based on a a space delimited string that it read from a config file.
Example of the SQL will be
For example, it will read a string like "AAA BBB CCC" and assign to a variable named IN_STRING.
I then concatenate... (2 Replies)
Discussion started by: newbie_01
2 Replies
LEARN ABOUT DEBIAN
tcpcli
TCPCLI(1) BP executables TCPCLI(1)
NAME
tcpcli - DTN TCPCL-compliant convergence layer input task
SYNOPSIS
tcpcli local_hostname[:local_port_nbr]
DESCRIPTION
tcpcli is a background "daemon" task comprising 1 + N threads: one that handles TCP connections from remote tcpclo tasks, spawning sockets
for data reception from those tasks, plus one input thread for each spawned socket to handle data reception over that socket.
The connection thread simply accepts connections on a TCP socket bound to local_hostname and local_port_nbr and spawns reception threads.
The default value for local_port_nbr, if omitted, is 4556.
Each time a connection is established, the end-points will first exchange contact headers, because connection parameters need to be
negotiated. tcpcli records the acknowledgement flags, reactive fragmentation flag and negative acknowledgements flag in the contact header
it receives from its peer tcpclo task.
Each reception thread receives bundles over the associated connected socket. Each bundle received on the connection is preceded by message
type, fragmentation flags, and size represented as an SDNV. The received bundles are passed to the bundle protocol agent on the local ION
node.
tcpcli is spawned automatically by bpadmin in response to the 's' (START) command that starts operation of the Bundle Protocol; the text of
the command that is used to spawn the task must be provided at the time the "tcp" convergence layer protocol is added to the BP database.
The convergence layer input task is terminated by bpadmin in response to an 'x' (STOP) command. tcpcli can also be spawned and terminated
in response to START and STOP commands that pertain specifically to the TCP convergence layer protocol.
EXIT STATUS
0 tcpcli terminated normally, for reasons noted in the ion.log file. If this termination was not commanded, investigate and solve the
problem identified in the log file and use bpadmin to restart tcpcli.
1 tcpcli terminated abnormally, for reasons noted in the ion.log file. Investigate and solve the problem identified in the log file,
then use bpadmin to restart tcpcli.
FILES
No configuration files are needed.
ENVIRONMENT
No environment variables apply.
DIAGNOSTICS
The following diagnostics may be issued to the ion.log log file:
tcpcli can't attach to BP.
bpadmin has not yet initialized Bundle Protocol operations.
No such tcp duct.
No TCP induct matching local_hostname and local_port_nbr has been added to the BP database. Use bpadmin to stop the TCP convergence-
layer protocol, add the induct, and then restart the TCP protocol.
CLI task is already started for this duct.
Redundant initiation of tcpcli.
Can't get IP address for host
Operating system error. Check errtext, correct problem, and restart TCP.
Can't open TCP socket
Operating system error. Check errtext, correct problem, and restart TCP.
Can't initialize socket
Operating system error. Check errtext, correct problem, and restart TCP.
tcpcli can't create access thread
Operating system error. Check errtext, correct problem, and restart TCP.
BUGS
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu>
SEE ALSO
bpadmin(1), bprc(5), tcpclo(1)
perl v5.14.2 2012-05-25 TCPCLI(1)