Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Split large file into 24 small files on one hour basis Post 303036473 by Raghuram717 on Friday 28th of June 2019 02:50:29 AM
Old 06-28-2019
@Neo okay i will try this
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Splitting large file into small files

Hi, I need to split a large file into small files based on a string. At different palces in the large I have the string ^Job. I need to split the file into different files starting from ^Job to the last character before the next ^Job. Also all the small files should be automatically named.... (4 Replies)
Discussion started by: dncs
4 Replies

2. Shell Programming and Scripting

Split a file into 16 small files

Hi I want to split a file that has 'n' number of records into 16 small files. Can some one suggest me how to do this using Unix script? Thanks rrkk (10 Replies)
Discussion started by: rrkks
10 Replies

3. Shell Programming and Scripting

Split large file and add header and footer to each small files

I have one large file, after every 200 line i have to split the file and the add header and footer to each small file? It is possible to add different header and footer to each file? (7 Replies)
Discussion started by: ashish4422
7 Replies

4. Shell Programming and Scripting

script to splite large file to number of small files

Dear All, Could you please help me to split a file contain around 240,000,000 line to 4 files all equally likely , note that we need to maintain that the end of each file should started by start flage (MSISDN) and ended by end flag (End), also the number of the line between the... (10 Replies)
Discussion started by: ahmed.gad
10 Replies

5. Shell Programming and Scripting

Split large zone file dump into multiple files

I have a large zone file dump that consists of ; DNS record for the adomain.com domain data1 data2 data3 data4 data5 CRLF CRLF CRLF ; DNS record for the anotherdomain.com domain data1 data2 data3 data4 data5 data6 CRLF (7 Replies)
Discussion started by: Bluemerlin
7 Replies

6. Shell Programming and Scripting

Split a large array into small chunks

Hi, I need to split a large array "@sharedArray" into 10 small arrays. The arrays should be like @sharedArray1,@sharedArray2,@sharedArray3...so on.. Can anyone help me with the logic to do so :(:confused: (6 Replies)
Discussion started by: rkrish
6 Replies

7. Shell Programming and Scripting

How to split this txt file into small files?

Dear shell experts, I would like to spilt a txt file into small ones. However, I did not know how to program use shell. If someone could help, it is greatly appreciated! Specifically, I supposed there is file named A.txt. The content of the file likes this: Subject run condtion ACC time... (3 Replies)
Discussion started by: psychmyluo
3 Replies

8. Shell Programming and Scripting

Breaking large file into small files

Dear all, I have huge txt file with the input files for some setup_code. However for running my setup_code, I require txt files with maximum of 1000 input files Please help me in suggesting way to break down this big txt file to small txt file of 1000 entries only. thanks and Greetings, Emily (12 Replies)
Discussion started by: emily
12 Replies

9. UNIX for Beginners Questions & Answers

Split large file into smaller files without disturbing the entry chunks

Dears, Need you help with the below file manipulation. I want to split the file into 8 smaller files but without cutting/disturbing the entries (meaning every small file should start with a entry and end with an empty line). It will be helpful if you can provide a one liner command for this... (12 Replies)
Discussion started by: Kamesh G
12 Replies

10. Shell Programming and Scripting

Split large xml into mutiple files and with header and footer in file

Split large xml into mutiple files and with header and footer in file tried below it splits unevenly and also i need help in adding header and footer command : csplit -s -k -f my_XML_split.xml extrfile.xml "/<Document>/" {1} sample xml <?xml version="1.0" encoding="UTF-8"?><Recipient>... (36 Replies)
Discussion started by: karthik
36 Replies
PUC(4)							   BSD Kernel Interfaces Manual 						    PUC(4)

NAME
puc -- PCI ``universal'' communications card driver SYNOPSIS
puc* at pci? dev ? function ? com* at puc? port ? lpt* at puc? port ? DESCRIPTION
The puc driver provides support for PCI communications cards containing simple communications ports, such as NS16550-family (com) serial ports and standard PC-like (lpt) parallel ports. The driver is called ``universal'' because the interfaces to these devices aren't nearly as well defined and standard as they should be. The driver currently supports the following cards: ADDI-DATA APCI-7800 (8 port serial) Actiontec 56K PCI Master Advantech PCI-1604UP (2 port serial) Advantech PCI-1610 (4 port serial) Advantech PCI-1612 (4 port serial) Advantech PCI-1620 (8 port serial) Avlab Low Profile PCI 4S Quartet (4 port serial) Avlab Low Profile PCI 4 Serial (4 port serial) Avlab PCI 2S (2 port serial) Boca Research Turbo Serial 654 (4 port serial) Boca Research Turbo Serial 658 (8 port serial) Chase Research / Perle PCI-FAST4 (4 port serial) Chase Research / Perle PCI-FAST8 (8 port serial) Comtrol RocketPort 550/4 series (4 port serial) Comtrol RocketPort 550/8 series (8 port serial) Comtrol RocketPort 550/16 series (16 port serial) Decision Computer Inc PCCOM PCI 2 Port (2 port serial) Decision Computer Inc PCCOM PCI 4 Port (4 port serial) Decision Computer Inc PCCOM PCI 8 Port (8 port serial) Digi International Digi Neo 4 (4 port serial) Digi International Digi Neo 8 (8 port serial) Dolphin Peripherals 4014 (dual parallel) Dolphin Peripherals 4035 (dual serial) Dolphin Peripherals 4036 (dual serial) EXAR XR17D152 (2 port serial) EXAR XR17D154 (4 port serial) EXAR XR17D158 (8 port serial) Exsys EX-41098 (4 port serial) IBM 4810 SurePOS 300 Series SCC (4 port serial) InnoSys Keyspan SX Pro (4 port serial) Intel chipset internal Serial over LAN I-O DATA RSA-PCI (2 port serial) I-O DATA RSA-PCI2 (2 port serial) I-O DATA RSA-PCI2/P4 (4 port serial) I-O DATA RSA-PCI2/P8 (8 port serial) Lava Computers 2SP-PCI (single parallel) Lava Computers Octopus (8 port serial) Lava Computers Quatro-PCI (4 port serial) Lava Computers dual serial Lava Computers SSERIAL-PCI (single serial) Middle Digital, Inc. Weasel serial port Moxa Technologies SmartIO C104H/PCI (4 port serial) Moxa Technologies SmartIO C168EL-A/PCIe (8 port serial) Moxa Technologies SmartIO C168EL/PCIe (8 port serial) Moxa Technologies SmartIO C168H/PCI (8 port serial) Moxa Technologies SmartIO C168U/PCI (8 port serial) Moxa Technologies SmartIO CP-114/PCI (4 port serial) Moxa Technologies SmartIO CP-102/PCI (2 port serial) Moxa Technologies SmartIO CP-104-EL/PCIe (4 port serial) Moxa Technologies SmartIO CP-104-V2/PCI (4 port serial) Moxa Technologies SmartIO CP-104/PCI (4 port serial) Multi-Tech ISI5634PCI/4 (4 port serial) NEC PK-UG-X001 K56flex PCI Modem NEC PK-UG-X008 NetMos 1P PCI (single parallel) NetMos 2S1P PCI 16C650 (dual serial and single parallel) NetMos 4S1P PCI NM9845 (4 port serial and single parallel) NetMos NM9805 1284 (single parallel) NetMos NM9815 Dual 1284 (dual parallel) NetMos NM9835 series (up to dual serial and single parallel) NetMos NM9845 series (up to 6 serial and 1 parallel) NetMos NM9865 series (up to 4 serial and 2 parallel) NetMos NM9901 PCIe (1 serial or 1 parallel) NetMos NM9904 PCIe (4 port serial) NetMos NM9922 PCIe (2 port serial) Oxford Semiconductor OX16PCI952 (dual serial and single parallel) Oxford Semiconductor OX16PCI954 (4 port serial) Oxford Semiconductor OX16PCI958 (8 port serial) Oxford Semiconductor OXPCIe952 (2 port serial, legacy mode) Oxford Semiconductor OXmPCI952 (2 port serial) Perle Systems PCI-RAS 4 modem ports Perle Systems PCI-RAS 8 modem ports Perle Systems PCI-RASV92 4 modem ports Perle Systems PCI-RASV92 8 modem ports SIIG Cyber 2P1S PCI series (dual parallel and single serial) SIIG Cyber 2S1P PCI series (dual serial and single parallel) SIIG Cyber 4 PCI 16550 (4 port serial) SIIG Cyber 4S PCI series (quad serial) SIIG Cyber I/O PCI series (single serial and single parallel) SIIG Cyber Parallel Dual PCI series (dual parallel) SIIG Cyber Parallel PCI series (single parallel) SIIG Cyber Serial Dual PCI series (dual serial) SIIG Cyber Serial PCI series (single serial) SIIG PS8000 PCI 8S series (8 port serial) SUNIX 400x (1 port parallel) SUNIX 401x (2 port parallel) SUNIX 402x (1 port serial) SUNIX 403x (2 port serial) SUNIX 405x (4 port serial) SUNIX 406x (8 port serial) SUNIX 407x (2 port serial and 1 port parallel) SUNIX 408x (2 port serial and 2 port parallel) SUNIX 409x (4 port serial and 2 port parallel) SUNIX 5008 (1 port parallel) SUNIX 5016 (8 port serial) SUNIX 5027 (1 port serial) SUNIX 5037 (2 port serial) SUNIX 5056 (4 port serial) SUNIX 5066 (8 port serial) SUNIX 5069 (1 port serial and 1 port parallel) SUNIX 5079 (2 port serial and 1 port parallel) SUNIX 5099 (4 port serial and 1 port parallel) Syba Tech Ltd. PCI-4S Syba Tech Ltd. PCI-4S2P-550-ECP SystemBase SB16C1054PCI (4 port serial) SystemBase SB16C1058PCI (8 port serial) US Robotics (3Com) 3CP5609 PCI 16550 Modem VScom PCI-010HV2 (1 port parallel) VScom PCI-010L (1 port parallel) VScom PCI-011H (1 port parallel) VScom PCI-100H (1 port serial) VScom PCI-100L (1 port serial) VScom PCI-110L (1 port serial and 1 port parallel) VScom PCI-200 (dual serial) VScom PCI-200H (dual serial) VScom PCI-200HV2 (dual serial) VScom PCI-200L (dual serial) VScom PCI-200Li (dual serial) VScom PCI-210L (2 port serial and 1 port parallel) VScom PCI-400 (4 port serial) VScom PCI-400L (4 port serial) VScom PCI-800 (8 port serial) VScom PCI-800H (8 port serial) VScom PCI-800L (8 port serial) The driver does not support the cards: Dolphin Peripherals 4006 (single parallel) Dolphin Peripherals 4025 (single serial) Dolphin Peripherals 4078 (dual serial and single parallel) but support for them (and for similar cards) should be trivial to add. The port locator is used to identify the port (starting from 0) on the communications card that a subdevice is supposed to attach to. Typi- cally, the numbering of ports is explained in a card's hardware documentation, and the port numbers used by the driver are the same as (or one off from, e.g. the manual uses ports numbered starting from 1) those described in the documentation. SEE ALSO
com(4), lpt(4), pci(4) HISTORY
The puc driver appeared in NetBSD 1.4. AUTHORS
The puc driver was written by Chris Demetriou. BUGS
The current design of this driver keeps any com ports on these cards from easily being used as console. Of course, because boards with those are PCI boards, they also suffer from dynamic address assignment, which also means that they can't easily be used as console. Some of the cards supported by this driver have jumper-selectable com port clock multipliers, which are unsupported by this driver. Those can be easily accommodated with driver flags, or by using a properly scaled baud rate when talking to the card. Some of the cards supported by this driver, e.g. the VScom PCI-800, have software-selectable com port clock multipliers, which are unsup- ported by this driver. Those can be accommodated using internal driver flags, or by using a properly scaled baud rate when talking to the card. Some ports use an lpt driver other than the machine-independent driver. Those ports will not be able to use lpt ports attached to puc devices. BSD
October 26, 2012 BSD
All times are GMT -4. The time now is 06:26 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy