Hello all,
I am trying to add chunks to my informix dataspace. I have one dataspace ( the rootdbs ) and the new chunk is a raw device. Precisely slice1 on my new external harddisk.
The question is, what should be the offset value. The document says, the offset is used by the engine to... (1 Reply)
Hi All,
I need to extract only XML details from large log file which may contain other unwanted junk details.
For example, our xml will be start as <OUTBOUND_MESSAGE .....> and ends with </OUTBOUND_MESSAGE>. I want to extract only lines between these start and end tag (Including these tags)... (5 Replies)
Hi,
I want to read a file from a specified offset from the start of file. With the read command, is it possible to do so. Please suggest. Is there any other alternative?
Thanks,
Saurabh (2 Replies)
Function: int fcntl(int fd, int cmd, struct flock * lock)
Data Type: struct flock
This structure is used with the fcntl function to describe a file lock. It has these members:
off_t l_start
This specifies the offset of the start of the region to which the lock applies, and... (1 Reply)
I have a lot of very large hex files that I need to change one value at the same offset and save to another file. I have a script that finds each file and just need to put an operator for each file.
I think sed might be able to do this but I have not used it before and would like some help. If... (8 Replies)
Hi,
I'm looking for a way (other than C) to pull out a number of bytes in a Linux file for a giving length. for example:
file1 contains 2 records:
abcdefghijkl
mnopqrstuv
.....
so, I want to pull starting in byte 9 for a length of 8
file2 would contain:
ijkmnopq
Thanks (2 Replies)
I have read the below from the book bash cookbook.Tail +1 filenames is similar to cat filename
I have tried the same in Ubuntu 11.10 with bash. 4.0 .
I have received error for the Same.
May I know in which system that will work fine ?
Thanks (1 Reply)
Hi ,
I have a .gz file whose contents look like below.
data1^filename1
data2^filename2.
..
.
.
Is it possible to find out the byte offset of each record from the .gz file.
Like in an uncompressed file.
grep -nb "Filename" give the byte offset of the record in this case.
... (4 Replies)
Hi,
I am trying to get the position of a repeated string in a line using
grep -b -o "pattern"
In my server I am using GNU grep version 2.14 and the code is working fine. However when I am deploying the same code in a different server which is using GNU grep version 2.5.1 the code is not... (3 Replies)
Discussion started by: Subhamoy
3 Replies
LEARN ABOUT HPUX
ng_gif_demux
NG_GIF_DEMUX(4) BSD Kernel Interfaces Manual NG_GIF_DEMUX(4)NAME
ng_gif_demux -- demultiplexer for packets from ng_gif(4) nodes
SYNOPSIS
#include <netgraph/ng_gif_demux.h>
DESCRIPTION
The ng_gif_demux netgraph node type demultiplexes the output from ng_gif(4) nodes in the netgraph(4) networking subsystem.
The gif hook is meant to be connected to the lower or orphans hook of an ng_gif(4) node. The inet, inet6, atalk, ipx, atm, natm, and ns
hooks output frames of the given type when they are received on the gif hook. When a frame is received on one of these hooks, it is encapsu-
lated and sent out the gif hook.
HOOKS
This node type supports the following hooks:
gif Connection to the lower or orphans hook of an ng_gif(4) node.
inet Hook for input and output of IP frames.
inet6 Hook for input and output of IPv6 frames.
atalk Hook for input and output of AppleTalk frames.
ipx Hook for input and output of IPX frames.
atm Hook for input and output of ATM frames.
natm Hook for input and output of NATM frames.
ns Hook for input and output of NS frames.
CONTROL MESSAGES
This node type supports only the generic control messages.
SEE ALSO gif(4), netgraph(4), netintro(4), ng_gif(4), ifconfig(8), ngctl(8), nghook(8)AUTHORS
Brooks Davis <brooks@FreeBSD.org>
BSD September 18, 2001 BSD