06-17-2008
can you give me the code
Can you pls give me the Unix code as am a newb to it.
I appreciate your help.
Thanks
rrkk
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
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
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
3. Shell Programming and Scripting
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
4. UNIX for Dummies Questions & Answers
Dear all,
I have a big file:2879(rows)x400,170 (columns) like below. I 'd like to split the file into small pieces:2879(rows)x2000(columns) per file (the last small piece will be 2879x170.
So far, I only know how to create one samll piece at one time. But actually I need to repeat this work... (6 Replies)
Discussion started by: forevertl
6 Replies
5. UNIX for Advanced & Expert Users
Hi Folks,
Please help me in solving the problem.
I want to write script in order to split a file into small pieces and send it automatically through mail.
Ex. The file name is CALM*.txt . It is around 50 MB. I want to split the file into 20 MB 2-3 smaller files and send (like uuencode) it... (6 Replies)
Discussion started by: piyushbhashkar
6 Replies
6. Solaris
Hi Team
I have one 10 Gb log file
I want to split it into say 10 of 1-1Gb file
pls share ur experiences how to do this?
Thanks in advance, (3 Replies)
Discussion started by: zimmyyash
3 Replies
7. Shell Programming and Scripting
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
8. Shell Programming and Scripting
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
9. Shell Programming and Scripting
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
10. UNIX for Beginners Questions & Answers
I Have a large file with 24hrs log in the below format.i need to split the large file in to 24 small files on one hour based.i.e ex:from 09:55 to 10:55,10:55-11:55
can any one help me on this.!
... (20 Replies)
Discussion started by: Raghuram717
20 Replies
TAPEFS(1) General Commands Manual TAPEFS(1)
NAME
32vfs, cpiofs, tapfs, tarfs, tpfs, v6fs, v10fs - mount archival file systems
SYNOPSIS
fs/32vfs [ -m mountpoint ] [ -p passwd ] [ -g group ] file
fs/cpiofs
fs/tapfs
fs/tarfs
fs/tpfs
fs/v6fs
fs/v10fs
DESCRIPTION
These commands interpret data from traditional tape or file system formats stored in file, and mount their contents (read-only) into a Plan
9 file system. The optional -p and -g flags specify Unix-format password (respectively group) files that give the mapping between the
numeric user- and group-ID numbers on the media and the strings reported by Plan 9 status inquiries. The -m flag introduces the name at
which the new file system should be attached; the default is /n/tapefs.
32vfs interprets raw disk images of 32V systems, which are ca. 1978 research Unix systems for the VAX, and also pre-FFS Berkeley VAX sys-
tems (1KB block size).
Cpiofs interprets cpio tape images (constructed with cpio's c flag).
Tarfs interprets tar tape images.
Tpfs interprets tp tapes from the Fifth through Seventh Edition research Unix systems.
Tapfs interprets tap tapes from the pre-Fifth Edition era.
V6fs interprets disk images from the Fifth and Sixth edition research Unix systems (512B block size).
V10fs interprets disk images from the Tenth Edition research Unix systems (4KB block size).
SOURCE
These commands are constructed in a highly stereotyped way using the files fs.c and util.c in /sys/src/cmd/tapefs, which in turn derive
substantially from ramfs(4).
SEE ALSO
Section 5 passim, ramfs(4).
TAPEFS(1)