I assume that you mean line length when you speak of record length. Here is an example that takes a long line and breaks it into a few pieces:
Producing:
See man fold for details -- you may wish to use -b for bytes ... cheers, drl
Is there a command that sets a variable length?
I have a input of a variable length field but my output for that field needs to be set to 32 char.
Is there such a command?
I am on a sun box running ksh
Thanks (2 Replies)
Hi experts.
I got a file (500mb max) and need to pivot it (loading into ORCL) and change BLANK delimiter to PIPE |.
Sometimes there are multipel BLANKS (as a particular value may be BLANK, or simply two BLANKS instead of one BLANK).
thanks for your input!
Cheers,
Layout... (3 Replies)
Hi all,
Does anyone know a technique for creating a download file in variable length format? I have looked around but haven't found any resources on this (or, maybe I'm not sure what to Google for :) )
Thanks in advance! (2 Replies)
Hi
I need to be search a file of fixed length records and when I hit a particular record that match a search string, substitute a known position field
In the example file below
FHEAD000000000120090806143011
THEAD0000000002Y0000000012 P00000000000000001234
TTAIL0000000003... (0 Replies)
Very, very new to unix scripting and have a unique situation. I have a file of records that contain 3 records types:
(H)eader Records
(D)etail Records
(T)railer Records
The Detail records are 82 bytes in length which is perfect. The Header and Trailer records sometimes are 82 bytes in... (3 Replies)
I've been searching high and low for this...but, maybe I'm just missing something. I have a file to be sorted that, unfortunately, contains binary data at the end of the line. As you may guess, this binary data may contain a newline character, which messes up the sort. I think I could resolve this... (5 Replies)
I am new to awk and writing a script using awk. I have file containing fixed length records, I wish to extract 2 substring(each substring is padded with zeros on left e.g 000000003623) and add each substring respectively for every record in the file to get total sum of respective substring for all... (5 Replies)
Hi Team,
I have an issue to split the file which is having special chracter(German Char) using awk command.
I have a different length records in a file. I am separating the files based on the length using awk command.
The command is working fine if the record is not having any... (7 Replies)
Discussion started by: Anthuvan
7 Replies
LEARN ABOUT DEBIAN
xtgetclassextension
XtGetClassExtension(3) XT FUNCTIONS XtGetClassExtension(3)NAME
XtGetClassExtension - locate a class extension record
SYNTAX
XtPointer XtGetClassExtension(WidgetClass object_class, Cardinal byte_offset, XrmQuark type, long version, Cardinal record_size);
ARGUMENTS
object_class
Specifies the widget class containing the extension list to be searched.
byte_offset
Specifies the offset in bytes form the base of the widget class of the extension field to be searched.
type Specifies the name of the class extension to be located.
version Specifies the minimum acceptable version of the class extension required for a match.
record_size
Specifies the minimum acceptable length of the class extension record required for match, or 0.
DESCRIPTION
The list of extension records at the specified offset in the specified widget_class will be searched for a match on the specified type, a
version greater than or equal to the specified version, and a record size greater than or equal the specified record_size if it is nonzero.
XtGetClassExtension returns a pointer to a matching extension record or NULL if no match is found. The returned extension record is owned
by the widget class and must not be modified or freed by the caller, except possibly to be modified by the widget class owner.
SEE ALSO
X Toolkit Intrinsics - C Language Interface
Xlib - C Language X Interface
X Version 11 libXt 1.1.3 XtGetClassExtension(3)