But now, the following point is the last: how to select my datas using awk with binary datas ?
I don't think you can. You could write a C utility to do that:
For that matter, cutting awk out entirely could let you do everything with full, 64-bit double-precision variables.
---------- Post updated 03-25-11 at 05:45 PM ---------- Previous update was 03-24-11 at 10:07 PM ----------
I just realized something here:
I think you're writing too much data. sizeof(buffer) doesn't give you the number of elements, it gives you the size in bytes! That should be
Or just "3".
Here is what I did . . . . I FTP'd several *.pdf files from a web site to a UNIX server, and did not set the transfer mode to BIN, now Adobe thinks that the documents are corrupted. Is there a way to convert the *.pdf files to Binary so that Adobe can open them again. I would just re-download... (2 Replies)
after converting my ebcidic file to ascii i get the following output
2097152+0 records in
1797345+1 records out
Why is there a difference in number of records.
Is the converson chopping off any records.
All i am doing is just a conversion using the following script
dd if=xaa cbs=152 ... (0 Replies)
Here is what I did . . . . I FTP'd several *.dbf zipped files from a SCO 5.0.5 server to winXP machine, and did not set the transfer mode to BIN, now when i was uncompressing these files in SCO 5.0.5 , it was giving "Bad Decode Table error. Is there a way to convert the *.dbf.Z files to Binary so... (1 Reply)
Hi,
Is there a way to convert the binary file to ascii . the binary file is pipe delimited.
from source the file(pipe delimited) is ftped to mainframe and from mainframe it is ftped to the unix box using binary format. Is there a way to change it back to ascii and view it?
Thanks! (3 Replies)
Hello all,
I am working with ftp servers in unix, and always I have to get and put files but I don't know exactly if I have to get or put them as an ascii or binary. Some files that I use are: .txt, .sav, .fmb, .pct, .sh, .ksh, .dat, .log.
Somebody can tell me what is the difference between... (2 Replies)
Hi,
I have got a library file, created by compiling C code. The file information with "file" command, gives it a "application/x-archive" type file. I want to extract the release string of my software from this file, so that i can know which version of C files were used to create the lib.
Can... (3 Replies)
Hi All,
I am facing EBCDIC to ASCII Binary conversion on Solaris i-series Unix system.
However this is working fine on Solaris Sparc Unix system.
Input file having EBCDIC format does not work on Solaris i-series Unix system.
Could you please tell me, what will be the root cause for same? (14 Replies)
Hello,
With bash-script (ubunto server) I'm trying to read a binary file and, for each character, give back its ascii code (including extended ascii). For example:
HEX => ASCII => PRINT
f5 => 245 => õ
50 => 80 => P
To load the binary file into a variable I tried in this way: ... (2 Replies)
Dears,
I need help to convert the binary file into ASCII format.
Actually we have CDRs which is generated by telecom switch at this is in ASN1 format or binary format, I need to convert those binary formatted file into ASCII format using Perl, or shell scripting.
Is there any way to solve... (3 Replies)
Hi All ,
I have a mainframe file which contains the data in EBCDIC format.I have downloaded this file from mainframe to windows in binary format(unreadable raw data).Now I want convert this file to ASCII format(readable format data) through Unix command.I have tried iconv but that is not working... (2 Replies)
Discussion started by: STCET22
2 Replies
LEARN ABOUT SUNOS
datas
datas(3U) InterViews Reference Manual datas(3U)NAME
ColorData, GSData, MobilityData, MoveData, VoidData - Data subclasses for storing common undo information
SYNOPSIS
#include <Unidraw/Commands/datas.h>
DESCRIPTION
The Unidraw library predefines several Data subclasses for storing common undo information: ColorData stores two PSColors (usually repre-
senting foreground and background colors), while GSData stores a complete set of graphics state in a FullGraphic object. MobilityData
stores the mobility and graphics state information needed to undo a change in mobility. MoveData stores a horizontal and vertical distance.
VoidData stores a void pointer as a useful alternative to deriving trivially from Data just to store one word of information.
COLORDATA PUBLIC OPERATIONS
ColorData(PSColor*, PSColor*)
Create a ColorData instance, supplying the PSColor objects it stores.
GSDATA PUBLIC OPERATIONS
GSData(Graphic*)
Create a GSData instance, supplying the Graphic object from which to copy a complete set of graphics state. The GSData constructor
copies this information into its _gs member, from whence it can be retrieved later.
MOBILITYDATA PUBLIC OPERATIONS
MobilityData(Mobility, Graphic*)
Create a MobilityData instance, supplying the mobility and a Graphic object from which to copy a complete set of graphics state.
The MobilityData constructor copies the graphic into its _gs member, from whence it can be retrieved later.
MOVEDATA PUBLIC OPERATIONS
MoveData(float, float)
Create a MoveData instance, supplying two floating point numbers that normally represent horizontal and vertical movement.
VOIDDATA PUBLIC OPERATIONS
VoidData(void*)
Create a VoidData instance, supplying a pointer to an object of unknown type.
SEE ALSO Data(3U), Graphic(3U), globals(3U)Unidraw 24 January 1991 datas(3U)