03-26-2010
Have you tried dd with conv=ascii ?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Experts I am new to UNIX shell programming ( or scripting). My problem is that
I have an ASCII file in which column wise data is present, the columns are seperated by spaces. I want to read each columns data and store it in arrays, next I will be using the arrays to perform some numerical... (1 Reply)
Discussion started by: FarhanNaseer
1 Replies
2. UNIX for Advanced & Expert Users
Dear friends,
I have hexadecimal data like this.
now i want to read each letter and convert to decimal format.
for example.:
from the below data first i have to read hex data 0 and convert to 4 bit decimal value ie 0000.
similarly second letter 8 decimal value is 1000.
like this.... (6 Replies)
Discussion started by: rajan_ka1
6 Replies
3. Shell Programming and Scripting
Hi All,
I am having trouble through, I am reading the input from tab delimited file containing several records,
e.g.
line1 field1 field2 field3 so on..
line2 field1 field2 field3 so on..
..
..
on the basis of certain fields for each record in input file, I have to retrieve... (1 Reply)
Discussion started by: Sonu4lov
1 Replies
4. Programming
hi
iam reading data from web page using request socket and curl socket.
now my problem is some the web page containg data as a image so how can i read the data from a image.
thank,inadvance.
sree (3 Replies)
Discussion started by: phani_sree
3 Replies
5. Programming
Hi, folks,
I have a simple program main.c. The program is very simple, just for testing purpose. The program was proven correct by using "gcc".
Now I would compile it step by step from main.c to main.o. Here is what I did:
cpp main.c main.i <This step succeeded>
cc main.i -o... (5 Replies)
Discussion started by: meili100
5 Replies
6. Programming
:b:Guys,
Can some body throw some light on this please.....
sprintf(req_line1, "%c%s%c", '\x0b',"TESTING1",'\x0d');
sprintf(req_line2, "%s%c", "TESTING2", '\x0d');
sprintf(req_line3, "%s%c", "Testing3", '\x0d');
sprintf(req_line4, "%s%c%c%c", "Testing4", '\x0d', '\x1c', '\x0d');
... (6 Replies)
Discussion started by: sudharma
6 Replies
7. Programming
Hi All,
My main intension of is to convert the Hexstring stored in a char* into hex and then prefixing it with "0x" and suffix it with ','
This has to be done for all the hexstring char* is NULL.
Store the result prefixed with "0x" and suffixed with ',' in another char* and pass it to... (1 Reply)
Discussion started by: rvan
1 Replies
8. Programming
Hi,
Is there really a difference between these two, std::hex and ios::hex??
I stumbled upon reading a line, "std::ios::hex is a bitmask (8 on gcc) and works with setf(). std::hex is the operator". Is this true?
Thanks (0 Replies)
Discussion started by: royalibrahim
0 Replies
9. Shell Programming and Scripting
I have a binary (hex) file I need to parse to get some data which are encoded this way:
.* b4 . . . 01 12 .* af .* 83 L1 x1 x2 xL 84 L2 y1 y2 yL
By another words there is a stream of hexadecimal bytes (in my example separated by space for better readability). I need to get value stored in... (3 Replies)
Discussion started by: sameucho
3 Replies
10. Shell Programming and Scripting
I have a csv file called template.csv which has the following data
Name, Age, Height
Jessica Jesse, 18, 150
Now what I want to do is use a shell script to read the name age and height which looks like this:
#!bin/sh
INPUT='template.csv
while read Name Age Height
do
echo... (2 Replies)
Discussion started by: JSNY
2 Replies
IASL(1) General Commands Manual IASL(1)
NAME
iasl - ACPI Source Language compiler/decompiler
SYNOPSIS
iasl [options] [input file]
DESCRIPTION
This manual page documents briefly the iasl command. The option list is taken from the iasl interactive help.
iasl is an ASL compiler and decompiler.
OPTIONS
General Output
-p <prefix>
Specify filename prefix for all output files (including .aml)
-vi Less verbose errors and warnings for use with IDEs
-vo Enable optimization comments
-vr Disable remarks
-vs Disable signon
AML Output Files
-s<a|c>
Create AML in assembler or C source file (*.asm or *.c)
-i<a|c>
Create assembler or C include file (*.inc or *.h)
-t<a|c>
Create AML in assembler or C hex table (*.hex)
AML Code Generation
-oa Disable all optimizations (compatibility mode)
-of Disable constant folding
-oi Disable integer optimization to Zero/One/Ones
-on Disable named reference string optimization
-r<Revision>
Override table header Revision (1-255)
Listings
-l Create mixed listing file (ASL source and AML) (*.lst)
-ln Create namespace file (*.nsp)
-ls Create combined source file (expanded includes) (*.src)
AML Disassembler
-d [file]
Disassemble AML to ASL source code file (*.dsl)
-dc [file]
Disassemble AML and immediately compile it
(Obtain DSDT from current system if no input file)
-e Generate External() statements for unresolved symbols
-g Get ACPI tables and write to files (*.dat)
Miscellaneous
-a Verify source file is entirely ASCII text (0x00-0x7F)
Help
-h Additional help and compiler debug options
-hc Display operators allowed in constant expressions
-hr Display ACPI reserved method names
AUTHOR
iasl was written by Robert Moore <robert.moore@intel.com>.
This manual page was written by Mattia Dongili <malattia@debian.org>, for the Debian project (but may be used by others).
October 14, 2005 IASL(1)