Search word in 3rd column and move it to next column (4th)
Hi, I have a file with +/- 13000 lines and 4 column. I need to search the 3rd column for a word that begins with "SAP-" and move/skip it to the next column (4th). Because the 3rd column need to stay empty.
How to search for a word like "computer" in a column (eg: 4th field) of a '***' delimited file and add a column at the end of the record which denotes 'Y' if present and 'N' if not. After this, we need to again check for words like 'Dell' but not 'DellXPS' in 5th field and again add another column... (5 Replies)
I have a data in a file like this
1 praveen bmscollege
2 shishira bnmit
3 parthiva geethamce
I want to search "praveen" using awk command i tried like this but i did not get
awk `$2="praveen" {print $0} ` praveen.lst
can anyone help me solving this problem in... (2 Replies)
Hi,
I need an awk script (or whatever shell-construct) that would take data like below and get the max value of 3 column, when grouping by the 1st column.
clientname,day-of-month,max-users
-----------------------------------
client1,20120610,5
client2,20120610,2
client3,20120610,7... (3 Replies)
input
"A","B","C,D","E","F"
"S","T","U,V","W","X"
"AA","BB","CC,DD","EEEE","FFF"
required output:
"A","B","C,D","C,D","F"
"S", T","U,V","U,V","X"
"AA","BB","CC,DD","CC,DD","FFF"
tried using awk but double quotes not preserving for every field. any help to solve this is much... (5 Replies)
I have a multicolumn text file with header in the first row like this
The headers are stored in an array called . which contains I want to search for each elements of this array from that multicolumn text file. And I am using this awk approach
for ii in ${hdr}
do
gawk -vcol="$ii" -F... (1 Reply)
Discussion started by: Atta
1 Replies
LEARN ABOUT OPENSOLARIS
mxfe
mxfe(7D) Devices mxfe(7D)NAME
mxfe - MXFE Fast Ethernet device driver
SYNOPSIS
/dev/mxfe*
DESCRIPTION
The mxfe is a Solaris STREAMS hardware driver supporting the Data Link Provider Interface (dlpi(7P)) over the Macronix 98715 family
(including the Lite-On PNIC-II) of Fast Ethernet controllers.
DLPI SPECIFICATIONS
The mxfe driver supports both style 1 and style 2 modes of operation. Physical points of attachment (PPAs) are interpreted as the instance
number of the mxfe controller as assigned by the operating system.
The relevant fields returned as part of a DL_INFO_ACK response are:
o Maximum SDU is 1500.
o Minimum SDU is 0.
o DLSAP address length is 8.
o MAC type is DL_ETHER.
o SAP length value is -2, meaning the physical address component is followed immediately by a 2-byte SAP component within the
DLSAP address.
o Service mode is DL_CLDLS.
o Broadcast address value is the 6-byte Ethernet/IEEE broadcast address (ff:ff:ff:ff:ff:ff).
If the SAP provided is zero, IEEE 802.3 mode is assumed and outbound frames will have the frame payload length written into the type field
Likewise, inbound frames with a SAP between zero and 1500 are interpreted as IEEE 802.3 frames and delivered to streams that have bound to
SAP zero (the 802.3 SAP).
FILES
/dev/mxfe* Special character device
/kernel/drv/mxfe 32-bit driver binary (x86).
/kernel/drv/amd64/mxfe 64-bit ELF kernel module (x86).
/kernel/drv/sparcv9/mxfe Driver binary (SPARC).
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |SPARC, x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWmxfe |
+-----------------------------+-----------------------------+
SEE ALSO ifconfig(1M), ndd(1M), attributes(5), dlpi(7P)
IEEE 802.3 -- Institute of Electrical and Electronics Engineers, 2002
SunOS 5.11 31 Aug 2007 mxfe(7D)