10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
<Any suggestion how to create a file where the values are separated by ASCII code 1,with data extracted from a table using shell script The format is :/>
<columnname1(binary1)columnvalue(binary1)columnname2(binary1)columnvalue(binary1)columnname3(binary1)columnvalue... 1st row/>... (6 Replies)
Discussion started by: dasun
6 Replies
2. Shell Programming and Scripting
Hi All,
I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting?
Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
3. Shell Programming and Scripting
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)
Discussion started by: math4
2 Replies
4. Shell Programming and Scripting
Hello,
When I run this UNIX code without the -t option it gives me the desired results.
The code keeps the record with the greatest datetime based on the key columns.
I sort it first then sort it again with the -u option, that's it.
I need to have a variable to specify an ASCII character... (2 Replies)
Discussion started by: script_op2a
2 Replies
5. UNIX for Advanced & Expert Users
Good evening, everybody
A good math friend told me that it would be possible to shrink the size of the numerical datas I produce with a physical simulation code I programmed for my PhD.
It usually writes at least 100 GB to complete the simulation, and it seems that it is too high. There are... (7 Replies)
Discussion started by: Cybertib
7 Replies
6. Shell Programming and Scripting
I am getting a character with a "question mark inside a box". Does anybody know what ascii character i.e. what ascii number would it be. When I copy it in word I get it but when I copy it in notepad it only gives a box. I need to replace that inside my sed command in .SH file so I need to type it... (4 Replies)
Discussion started by: RubinPat
4 Replies
7. Shell Programming and Scripting
Hello dears,
I have a CVS file in wich a have many lines. each line is ended by this two caracters ';;'. I want to get a new format of this file by deleting this caracters which unix shell script
eg. of input file:
a;b;c;d;;
a;b;c;;
a;b;;
a;b;c;d;e;;
That means each line lenght can... (2 Replies)
Discussion started by: yeclota
2 Replies
8. Shell Programming and Scripting
Hi gurus,
I have a file in unix with ascii values. I need to convert all the ascii values in the file to ascii characters. File contains nearly 20000 records with ascii values. (10 Replies)
Discussion started by: sandeeppvk
10 Replies
9. Shell Programming and Scripting
Hi,
I'm trying to get from "a" to "b". So far, I've been able to get the ascii code for "a" and from there to get the code for "b". But, and this is were I'm stuck, I can't find how to show the symbol associated with the code I calculated. This is what I have right now
test=a... (4 Replies)
Discussion started by: flame_eagle
4 Replies
10. Linux
Is there are any source code in ANSI C
to convert ASCII to Hexa decimal. (1 Reply)
Discussion started by: Thippeswamy
1 Replies