Could you please try following and let me know if this helps you.
Output will be as follows.
Also want to add here if both columns $2 and $3 are not equal to $1 then complete line will be printed(which is not in provided Input_file).
Thanks,
R. Singh
This User Gave Thanks to RavinderSingh13 For This Post:
Hi All,
I have a file which is having 3 columns as (string string integer)
a b 1
x y 2
p k 5
y y 4
.....
.....
Question:
I want get the unique value of column 2 in a sorted way(on column 2) and the sum of the 3rd column of the corresponding rows. e.g the above file should return the... (6 Replies)
Hi friends,
My file is like:
Second file is :
I need to print the rows present in file one, but in order present in second file....I used
while read gh;do
awk ' $1=="' $gh'" {print >> FILENAME"output"} ' cat listoffirstfile
done < secondfile
but the output I am... (14 Replies)
Hi,
My input files is like this
axis1 0 1 10
axis2 0 1 5
axis1 1 2 -4
axis2 2 3 -3
axis1 3 4 5
axis2 3 4 -1
axis1 4 5 -6
axis2 4 5 1
Now, these are my following tasks
1. Print a first column for every two rows that has the same value followed by a string.
2. Match on the... (3 Replies)
Hi,
I have a table to be imported for R as matrix or data.frame but I first need to edit it because I've got several lines with the same identifier (1st column), so I want to sum the each column (2nd -nth) of each identifier (1st column)
The input is for example, after sorted:
K00001 1 1 4 3... (8 Replies)
I have the code for the below things..
File1 has the content as below
8859 0 subscriberCreate
18 0 subscriberPaymentMethodChange
1650 0 subscriberProfileUpdate
7668 0 subscriberStatusChange
13 4020100 subscriberProfileUpdate
1 4020129 subscriberStatusChange
2 4020307 subscriberCreate
8831... (5 Replies)
hi
I have 2 file with more than 10 columns for both
1st file
apple,0,0,0......
orange,1,2,3.....
mango,2,4,5.....
2nd file
apple,2,3,4,5,6,7...
orange,2,3,4,5,6,8...
watermerlon,2,3,4,5,6,abc...
mango,5,6,7,4,6,def.... (1 Reply)
Discussion started by: tententen
1 Replies
LEARN ABOUT OPENSOLARIS
dumpkeys
loadkeys(1) User Commands loadkeys(1)NAME
loadkeys, dumpkeys - load and dump keyboard translation tables
SYNOPSIS
loadkeys [filename]
dumpkeys
DESCRIPTION
loadkeys reads the file specified by filename, and modifies the keyboard streams module's translation tables. If no file is specified,
loadkeys loads the file: /usr/share/lib/keytables/type_tt/layout_dd, where tt is the value returned by the KIOCTYPE ioctl, and dd is the
value returned by the KIOCLAYOUT ioctl (see kb(7M)). These keytable files specify only the entries that change between the specified
layout and the default layout for the particular keyboard type. On self-identifying keyboards, the value returned by the KIOCLAYOUT ioctl
is set from the DIP switches.
dumpkeys writes the current contents of the keyboard streams module's translation tables, in the format specified by keytables(4), to the
standard output.
FILES
/usr/share/lib/keytables/layout_dd
default keytable files
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
|ATTRIBUTE TYPE |ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
|Interface Stability |Evolving |
+-----------------------------+-----------------------------+
SEE ALSO kbd(1), keytables(4), attributes(5), kb(7M), usbkbm(7M)SunOS 5.11 20 Apr 1998 loadkeys(1)