03-29-2013
Being a video file, I suppose this is a continuous stream of data right? I mean without line breaks. Even if we manage to get a working script, I think its going to take a lot of time processing a single 2GB file. How long does it take for the split command?
--ahamed
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a binary file (orig.dat) and two special delimiter strings 'AAA' and 'BBB'. My binary file's content is as follow:
<Data1.1>AAA<Data1.2>BBB
<Data2.1>AAA<Data2.2>BBB
...
<DataN.1>AAA<DataN.2>BBB
DataX.Y might have any length, and contains any kind of special/printable... (1 Reply)
Discussion started by: Averell
1 Replies
2. Shell Programming and Scripting
Guys
Following input line is from /etc/group file.As we know last entry in a line of /etc/group is userlist (all the users belonging to that group).
I need to splilt this one line into 3 lines as shown below (3 because userlist has 3 names in it).
Input:
lp:!:11:root,lp,printq
... (13 Replies)
Discussion started by: ak835
13 Replies
3. Shell Programming and Scripting
Hi all,
I'm having a little trouble solving a file split I need to get done.
I have the following data:
1. Light
1A. Light Soft
texture: it's soft
color: the color value is that of something light
vital statistics: srm: 23 og: 1.035 sp: 1.065
comment: this is nice if you like... (8 Replies)
Discussion started by: mkastin
8 Replies
4. Shell Programming and Scripting
Hello!
Have some problem with extract files from saved session.
File contains any kind of special/printable characters.
DATA NumberA DATA
DATA Begin
DATA1.1
DATA1.2 NumberB1 DATA1.3
DATA1.4
End DATA
DATA
DATA Begin
DATA2.1
DATA2.2 NumberB2 DATA2.3
DATA2.4
End DATA
DATA
... (4 Replies)
Discussion started by: vvild
4 Replies
5. Shell Programming and Scripting
Hi,
I want to know how I can remove the last characters of ANY pdf file. I read it under "od" in the command shell to see which were the last characters:
$od corruptedfile.pdf -c
When I see the file, I need to keep only the last characters, or "end of the file": %EOF (obviously keeping all... (1 Reply)
Discussion started by: diegugawa
1 Replies
6. Shell Programming and Scripting
Hi,
can some one please help me to split the file based on groups.
like in the below scenario x indicates the begining of the group and the file should be split each with 2 groups below there are 10 groups it should create 5 files. could you please help? (4 Replies)
Discussion started by: hitmansilentass
4 Replies
7. Shell Programming and Scripting
Hi All,
I have a text file with the following text in it:
file:///About/accessibility.html
file:///About/disclaimer.html
file:///About/disclaimer.html#disclaimer
file:///pubmed?term=%22Dacre%20I%22%5BAuthor%5D
file:///pubmed?term=%22Madigan%20J%22%5BAuthor%5D... (8 Replies)
Discussion started by: shoaibjameel123
8 Replies
8. Shell Programming and Scripting
Hi All,
Iam new to unix scripting and I want a split a string into 4 characters each, leaving the last two characters and convert the splitted values into binary.
For example:
string='ffd80012ffe20000ffebfffeffea0007fff0ffd70014fff1fff0fff0fff201'
this should split as
ffd8
0012
ffe2
.
.... (5 Replies)
Discussion started by: srinivasayedla
5 Replies
9. UNIX for Dummies Questions & Answers
Hello,
I have a string like this 0:1:2:0:2:2:4:0:0:0:-200:500......
what i want is to break down how many different characters are there and their count. For example for above string it should display
0 - 5 times
1 - 1 times
2 - 3 times
4 - 1 times
.
.
.
I am stuck in writing... (8 Replies)
Discussion started by: exit86
8 Replies
10. Shell Programming and Scripting
I have a requirement to split a huge file to smaller text files based on first four characters which look like
ABCD
1234
DFGH
RREX
:
:
:
:
:
0000
Each of these records are OF EQUAL bytes with a different internal layout based on the above first digit identifier..
Any help to start... (5 Replies)
Discussion started by: etldev
5 Replies
LEARN ABOUT REDHAT
xvvideonotify
XvVideoNotify(3X) XvVideoNotify(3X)
Name
XvVideoNotify - event generated for video processing
Syntax
#include <X11/extensions/Xvlib.h>
typedef union {
int type;
XvVideoNotifyEvent xvvideo;
XvPortNotifyEvent xvport;
long pad[24];
} XvEvent;
typedef struct {
int type;
unsigned long serial;
Bool send_event;
Display *display;
Drawable drawable;
unsigned long reason;
XvPortID port_id;
Time time;
} XvVideoNotifyEvent;
type Specifies the type of event: XvVideoNotify(3X).
serial Number of the last request processed by the server.
send_event
True if the event was generated by a SendEvent request.
display A pointer to the display the event was read from.
drawable
The drawable for which the event was generated.
reason The reason the event was generated: XvStarted, XvStopped, XvPreempted, XvBusy, XvHardError.
port_id The port processing the video for which the event was generated.
Description
XvVideoNotify(3X) events are generated when video is started, stopped, preempted by another video request, ignored because the port is
grabbed by another client, or interruped because of a hard transmission or reception error.
See Also
XvPutVideo(3X), XvPutStill(3X), XvGetVideo(3X), XvGetStill(3X), XvStopVideo(3X), XvSelectVideoNotify(3X)
XFree86 Version Version 4.3.0 XvVideoNotify(3X)