Hi,
I'm trying this command - but get this error.
Do you guys have any workaround for this?
cat tf|sed 's/{//g'|sed 's/,//g'|awk '{for (i=1;i<=NF;i++) {if ($i == "OPTIME") {k = i + 2; print $i,$k}}}'
awk: record `2005 Jul 28 17:35:29...' has too many fields
record number 15
This is how... (3 Replies)
Hi all,
I have an input file with no delimiter. Let us say the file is abc.txt having values for fields namely, EmpNumEnameDesigSalDept. Ofcourse the file has got several records. Every field has got a fixed start and end position.
I need to assign the fields to corresponding varibles say... (1 Reply)
:confused:
Hi Friends,
In the record below i have to make changes in the fields by putting the values stored in the temporary variables, x, y, z, p, q, r:
2) In the TBT record store the values in the various fields as:
a) X in a field position 51 to 56
b) Y... (5 Replies)
Hi,
I have a fixed width file with record length 10.
I need to remove multiple newline characters present in each record.
EX:
af\n72/7\n
s\n3\nad\n
2\n\n33r\n
In the above file I want to remove new lines in red color(\n) but not (\n)
Please provide me a solution.
Thanks,
Sri (1 Reply)
I have
a='123, abc, def, ghi'
var1=`echo $a | awk -F", " '{print RS $1}'`
echo "something: $var1"
which outputs
something
123
how can I tell awk not to put a newline between fields? I want it to output:
something: 123 (4 Replies)
Hi,
I have a very huge file, around 1GB of data.
I want to remove the newline characters in the file but not preceded by the original end delimiter {}
sample data will look like this
1234567
abcd{}
1234sssss
as67
abcd{}
12dsad3dad
4sdad567
abcdsadd{}
this should look like this... (6 Replies)
My source file is pipe delimeted file with 53 fields.In 33 rd column i am getting mutlple new line characters,dule to that record is breaking into multiple records.
Note : here record delimter also \n
sample Source file with 6 fields :
1234|abc| \nabcd \n bvd \n cde \n |678|890|900\n
... (6 Replies)
I'm trying to compare 2 files for differences in a selct number of fields. When differnces are found it will write the whole record of the second file including appending '|C' out to a delta file. Each record will have 20 fields, but only want to do comparison of 1st 15 fields. The 1st field of... (7 Replies)
Hi All,
I receive a | delimited text file containing 63 columns. There is no delimiter at the end of the 63rd field, instead there would be a newline character at the end of the text in 63rd column. I wanted to retain this newline character at the end of the 63rd column, as it is desired newline... (1 Reply)
Discussion started by: sagarparadkar
1 Replies
LEARN ABOUT OPENSOLARIS
arcmsr
arcmsr(7D) Devices arcmsr(7D)NAME
arcmsr - SAS and SATA HBA driver for Areca Hardware Raid devices
DESCRIPTION
The arcmsr host bus adapter driver is a SCSA-compliant nexus driver that supports Areca Technology SAS and SATA RAID devices.
Supported SATA RAID cards:
ARC-1110 pci17d3,1110
ARC-1120 pci17d3,1120
ARC-1130 pci17d3,1130
ARC-1160 pci17d3,1160
ARC-1170 pci17d3,1170
ARC-1201 pci17d3,1201
ARC-1210 pci17d3,1210
ARC-1220 pci17d3,1220
ARC-1230 pci17d3,1230
ARC-1260 pci17d3,1260
ARC-1270 pci17d3,1270
ARC-1280 pci17d3,1280
Supported SAS RAID cards:
ARC-1380 pci17d3,1380
ARC-1381 pci17d3,1381
ARC-1680 pci17d3,1680
ARC-1681 pci17d3,1681
CONFIGURATION
There are no user configurable parameters available. Please configure your hardware through the host system BIOS.
FILES
/kernel/drv/arcmsr 32-bit ELF kernel module.
/kernel/drv/amd64/arcmsr 64-bit kernel module (x64 only).
/kernel/drv/arcmsr.conf Driver configuration file (contains no user-configurable options).
ATTRIBUTES
See attributes(5) for a description of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86, x64 only |
+-----------------------------+-----------------------------+
|Availability |SUNWarcmsr |
+-----------------------------+-----------------------------+
SEE ALSO prtconf(1M), attributes(5), scsi_hba_attach_setup(9F), scsi_sync_pkt(9F), scsi_transport(9F), scsi_inquiry(9S), scsi_device(9S),
scsi_pkt(9S)
Small Computer System Interface-2 (SCSI-2)
http://www.areca.com.tw/products/main.htm
http://developer.intel.com/design/iio/index.htm --(Intel Corp IO processors provide the underlying RAID engine for the supported devices).
SunOS 5.11 28 Feb 2008 arcmsr(7D)