Hi,
I am presently stuck in a csv file.
INPUT CSV
baseball,NULL,8798765,Most played
baseball,NULL,8928192,Most played
baseball,NULL,5678945,Most played
cricket,NOTNULL,125782,Usually played
cricket,NOTNULL,678921,Usually played
EXPECTED OUTPUT CSV
... (7 Replies)
Hi,
I have a comma (,) delimited file, in which few fields are enclosed with in double quotes " ". I have to print the records in the file which donot have expected number of field with the line number.
File1
====
name,desgnation,doj,project #header#... (7 Replies)
Hi All,
I am in middle of one script. I want output in the form of xls file.
There are 4 fields - user name, email Id, full name, date of birth. I want these details to get in seperate columns.
But, i am getting it in the single cell and as like a paragraph.:mad:
Please suggest me some... (8 Replies)
Hi
I have written below script to get the data in table form.
#!/bin/sh
echo "File Name\tType"
for i in *;
do
echo "$i\t\c"
if ; then
echo "directory"
elif ; then
echo "symbolic link"
elif ; then
echo "file"
else
echo "unknown"
fi
donehowever i am getting output in different way... (3 Replies)
Good Moring,
I am currently reading about awk in a manual and following the examples using the oratab file.
My system is SOLARIS 10
I think I am getting strange behavior judging by what the book says to do and what I am getting with my little program.
Here is my program:
grep -v oratab |... (4 Replies)
Hello,
I am practising awk and decided to compare two columns and print the result of the comparison as third column
i/p data
c1,c2,c3
1,a,b
1,b,b
i am trying to compare the last two columns and if they match I am trying to print match else mismatch(Ideally i want that as a last column... (5 Replies)
Discussion started by: mkathi
5 Replies
LEARN ABOUT ULTRIX
trpt
trpt(8c)trpt(8c)Name
trpt - transliterate protocol trace
Syntax
trpt [ -a ] [ -s ] [ -t ] [ -j ] [ -p hex-address ] [ system [ core ] ]
Description
The command interrogates the buffer of TCP trace records created when a socket is marked for debugging and prints a readable description of
these records.
Options
When no options are supplied, prints all the trace records found in the system grouped according to TCP connection protocol control block
(PCB). The following options may be used to alter this behavior:
-s In addition to the normal output, prints a detailed description of the packet sequencing information.
-t In addition to the normal output, prints the values for all timers at each point in the trace.
-j Gives a list of the protocol control block addresses for which there are trace records.
-p Shows only trace records associated with the protocol control block whose address follows.
-a In addition to the normal output, prints the values of the source and destination addresses for each packet recorded.
The recommended use of is to isolate the problem and enable debugging on the socket(s) involved in the connection. Find the address of the
protocol control blocks associated with the sockets using the -A option to Then run with the -p option, supplying the associated protocol
control block addresses. If there are many sockets using the debugging option, the -j option may be useful in checking to see if any trace
records are present for the socket in question.
If debugging is being performed on a system or core file other than the default, the last two arguments may be used to supplant the
defaults.
Diagnostics
no namelist
The system image does not contain the proper symbols to find the trace buffer.
Other diagnostic messages are self-explanatory.
FilesSee Alsonetstat(1), setsockopt(2)trpt(8c)