05-15-2014
any hint in shell scripting to process the below request ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
To split the files
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Test.xml
---------
<?xml version="UTF_8">
<emp: ....>
<name>a</name>
<age>10</age>
</emp>
<?xml version="UTF_8">
<emp: ....>
<name>b</name>
<age>10</age>... (11 Replies)
Discussion started by: sasi_u
11 Replies
2. Shell Programming and Scripting
Hi, Please help on this. i want split the below file(11020111.CLT) to more files with some condition. :b:
1) %s stating of the report
2) %e ending of the report
example starting of the report:
%sAEGONCA| |MUMBAI | :EXPC|N|D
ending of the report
%eAEGONCA| |MUMBAI | :EXPC
3)so the... (10 Replies)
Discussion started by: krbala1985
10 Replies
3. Shell Programming and Scripting
Hi,
I have a huge file with a single line.
But I want to break that line into lines of with each line having five columns.
My file is like this:
code:
"hi","there","how","are","you?","It","was","great","working","with","you.","hope","to","work","you."
I want it like this:
code:... (1 Reply)
Discussion started by: rajsharma
1 Replies
4. Shell Programming and Scripting
HI All,
I have to split a xml file into multiple xml files and append it in another .xml file. for example below is a sample xml and using shell script i have to split it into three xml files and append all the three xmls in a .xml file. Can some one help plz.
eg:
<?xml version="1.0"?>... (4 Replies)
Discussion started by: ganesan kulasek
4 Replies
5. Shell Programming and Scripting
Hi I have a file with over a million lines (rows) and I want to split everything from 500,000 to a million into another file (to make the file smaller). Is there a simple command for this?
Thank you
Phil (4 Replies)
Discussion started by: phil_heath
4 Replies
6. UNIX for Dummies Questions & Answers
Can u pls advise the unix command as I have a file which contain the records in the below format
333434
435435
435443
434543
343536
Now the total line count is 89380 , now i want to create a separate
I am trying to split my large big file into small bits using the line... (2 Replies)
Discussion started by: punpun66
2 Replies
7. Shell Programming and Scripting
<?xml version="1.0" encoding="UTF-8"?>
<Document>
<FIToFICstmrCdtTrf>
<GrpHdr>
<MsgId>10001</MsgId>
<NbOfTxs>1</NbOfTxs>
<IntrBkSttlmDt>2015-05-06</IntrBkSttlmDt>
<SttlmInf>
<SttlmMtd>CLRG</SttlmMtd>
</SttlmInf>
<PmtTpInf>
... (2 Replies)
Discussion started by: harish2015
2 Replies
8. Shell Programming and Scripting
Hi Everyone,
I'm new here and I was checking this old post:
/shell-programming-and-scripting/180669-splitting-file-into-several-smaller-files-using-perl.html
(cannot paste link because of lack of points)
I need to do something like this but understand very little of perl.
I also check... (4 Replies)
Discussion started by: mcosta
4 Replies
9. Shell Programming and Scripting
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies
10. UNIX for Beginners Questions & Answers
I have to split a file containing 100 lines to 5 files say from lines ,1-20 ,21-30 ,31-40 ,51-60 ,61-100
Here is i can do it for 2 file but how to handle it for more than 2 files
awk 'NR < 21{ print >> "a"; next } {print >> "b" }' $input_file
Please advidse.
Thanks (4 Replies)
Discussion started by: abhaydas
4 Replies
ALTERA_ATSE(4) BSD Kernel Interfaces Manual ALTERA_ATSE(4)
NAME
atse -- driver for the Altera Triple-Speed Ethernet MegaCore
SYNOPSIS
device atse
options ATSE_CFI_HACK
In /boot/device.hints:
hint.atse.0.at="nexus0"
hint.atse.0.maddr=0x7f007000
hint.atse.0.msize=0x540
hint.atse.0.rc_irq=1
hint.atse.0.rx_maddr=0x7f007500
hint.atse.0.rx_msize=0x8
hint.atse.0.rxc_maddr=0x7f007520
hint.atse.0.rxc_msize=0x20
hint.atse.0.tx_irq=2
hint.atse.0.tx_maddr=0x7f007400
hint.atse.0.tx_msize=0x8
hint.atse.0.txc_maddr=0x7f007420
hint.atse.0.txc_msize=0x20
hint.e1000phy.0.at="miibus0"
hint.e1000phy.0.phyno=0
DESCRIPTION
The atse device driver provides support for the Altera Triple-Speed Ethernet MegaCore.
HARDWARE
The current version of the atse driver supports the Ethernet MegaCore as described in version 11.1 of Altera's documentation when the device
is configured with internal FIFOs.
MAC SELECTION
The default MAC address for each atse interface is derived from a value stored in cfi(4) flash. The value is managed by the atsectl(8) util-
ity.
Only a single MAC address may be stored in flash. If the address begins with the Altera prefix 00:07:ed and ends in 00 then up to 16
addresses will be derived from it by adding the unit number of the interface to the stored address. For other prefixes, the address will be
assigned to atse0 and random addresses will be used for other interfaces. If the stored address is invalid, for example all zero's, multi-
cast, or the default address shipped on all DE4 boards (00:07:ed:ff:ed:15) then a random address is generated when the device is attached.
SEE ALSO
miibus(4), netintro(4), ifconfig(8)
Triple-Speed Ethernet MegaCore Function User Guide, Altera Corporation, November 2011.
HISTORY
The atse device driver first appeared in FreeBSD 10.0.
AUTHORS
The atse device driver and this manual page were developed by SRI International and the University of Cambridge Computer Laboratory under
DARPA/AFRL contract (FA8750-10-C-0237) (``CTSRD''), as part of the DARPA CRASH research programme. This device driver was written by Bjoern
A. Zeeb.
BUGS
The atse driver only supports a single configuration of the MegaCore as installed on the Terasic Technologies Altera DE4 Development and Edu-
cation Board.
Only gigabit Ethernet speeds are currently supported.
BSD
May 21, 2014 BSD