04-15-2003
10 More Discussions You Might Find Interesting
1. Programming
Hi everyone!
I was wondering if anyone knows how to change hex code back into ascii.
when i process a form:
" / " turn to " %2F "
" @ " turns to " %40 "
" ' " turns to " %27 "
" ( " turns to " %28 "
" ) " turns to " %29 "
this is my code so far: order.txt
thanks,
primal
p.s.... (1 Reply)
Discussion started by: primal
1 Replies
2. UNIX for Dummies Questions & Answers
How will I display on screen a UNIX ascii file with its HEX equivalent. I want to check whether 0D 0A is coming at the end of the file which I am generating from UNIX. (1 Reply)
Discussion started by: augustinep
1 Replies
3. Linux
Is there are any source code in ANSI C
to convert ASCII to Hexa decimal. (1 Reply)
Discussion started by: Thippeswamy
1 Replies
4. Programming
anyone knows any formulae or flow chart or procedure to convert
ASCII characters into HEXA values... (4 Replies)
Discussion started by: Thippeswamy
4 Replies
5. 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
6. Programming
Hello guys,
i want to convert a text file to hex and have written this code :
int main(int argc, char **argv)
{
ifstream file;
string fileName = "CODEZ";
file.open(fileName.c_str()); // oeffen im Text-Modus
if(file)
{... (5 Replies)
Discussion started by: Kingbruce
5 Replies
7. Shell Programming and Scripting
I am writing a bash script to do some parsing on a log and I am running into a problem when it comes to converting only certain sections of the file from hex to ascii or hex to decimal.
Data Example:
The hex values after Hardware and SW Version I need to convert from Hex to ASCII and the... (16 Replies)
Discussion started by: Shiftkey
16 Replies
8. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
write a script asciiFix.sh that takes an arbitrary number of file paths from the command line and carries out the same analysis on each one. If a file is not Windows ASCII, your script should do nothing to it. For each file that is... (7 Replies)
Discussion started by: kwatt019
7 Replies
9. 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
10. Windows & DOS: Issues & Discussions
So, I have a folder, containing subdirs like this:
52334d50
52365245
524b4450
524f3350
52533950
52535050
52555550
now I want to go ahead and rename all those folder:
hex -> ascii (8 Replies)
Discussion started by: pasc
8 Replies
LEARN ABOUT DEBIAN
bti-shrink-urls
BTI-SHRINK-URLS(1) bti-shrink-urls BTI-SHRINK-URLS(1)
NAME
bti-shrink-urls - convert URLs to a shorter form using a web service
SYNOPSIS
bti [--escaped] [--help] [URL]
DESCRIPTION
bti-shrink-urls converts URLs to a shorter form using a web service.
Currently http://2tu.us/ (default) and http://bit.ly / http://j.mp are supported.
OPTIONS
--escaped
Don't escape special characters in the URL any more, they are already percent encoded.
--help
Print help text.
URL
Specify the URL to be converted. If no URL is given bti-shrink-urls waits for input on stdin.
CONFIGURATION
bti-shrink-urls is configured by setting some values in ~/.bti:
shrink_host
Possible values: 2tu.us (default), bit.ly, j.mp
shrink_bitly_login
API login for bit.ly, j.mp, required if shrink_host is set to bit.ly or j.mp. See
https://code.google.com/p/bitly-api/wiki/ApiDocumentation
shrink_bitly_key
API key for bit.ly, j.mp, required if shrink_host is set to bit.ly or j.mp. See
https://code.google.com/p/bitly-api/wiki/ApiDocumentation
AUTHOR
Written by Bart Trojanowski bart@jukie.net.
COPYRIGHT AND LICENSE
Copyright (C) 2009 Bart Trojanowski bart@jukie.net.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by
the Free Software Foundation version 2 of the License.
bti-shrink-urls March 2009 BTI-SHRINK-URLS(1)