ASCII to char convertion

Thread Tools Search this Thread
Top Forums Shell Programming and Scripting ASCII to char convertion
# 1  
Old 09-02-2002
Question ASCII to char convertion

I am writing the script to encrypt and decrypt content of the text file.

How can I convert ASCII to characters and backward? I need it for Bourne shell script.

# 2  
Old 09-02-2002
See man pages on 'crypt' command.
# 3  
Old 09-02-2002
I'm not sure what you mean.. could you be a little more precise in explaining what it is you're trying to do?

You want to create your own encryption by converting ASCII characters into something else?
# 4  
Old 09-02-2002
More infomation


can you explain what you mean with:

"convert ASCII to characters"

When you use dd you can translate from asci to ebcdic or other character sets.

Is this what you want??
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

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

2. Shell Programming and Scripting

Convertion from Exponential to Decimal

I am trying to read values from excel and perform some calculations but I am getting below error: expr 2.326227180240883E7 / 8.509366417956961E8 expr: non-numeric argument Can anyone let me know how do i convert thse exponential numbers to decimal. (2 Replies)
Discussion started by: sachinnayyar
2 Replies

3. Programming

error: invalid conversion from ‘const char*’ to ‘char*’

Compiling xpp (The X Printing Panel) on SL6 (RHEL6 essentially): xpp.cxx: In constructor ‘printFiles::printFiles(int, char**, int&)’: xpp.cxx:200: error: invalid conversion from ‘const char*’ to ‘char*’ The same error with all c++ constructors - gcc 4.4.4. If anyone can throw any light on... (8 Replies)
Discussion started by: GSO
8 Replies

4. Shell Programming and Scripting

need to convert a decimal value to an ascii char with awk for the field delimiter

Hello, I need an awk script to receive a variable that's an decimal value such as 009 or 031 and then convert this value to an ascii character to use as the FS (field separator for the input file). For example, 009 should be converted to an ascii tab 031 should be converted to an ascii... (1 Reply)
Discussion started by: script_op2a
1 Replies

5. Shell Programming and Scripting

Non-ASCII char prevents conversion of manpage to plain text

Hello, I would like to export manual pages to plain text files. man CommandName | col -bx > CommandName.txt The above statement works successfully on Mac OS X. However, it often fails on my old Linux. The problem occurs if the source file of the manpage contains an escape sequence for... (5 Replies)
Discussion started by: LessNux
5 Replies

6. Shell Programming and Scripting

convert ascii values into ascii characters

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

7. Shell Programming and Scripting

convertion of a file

Hi I am having file like this 1 560017039 575052020 22-11-2003 8,290.00 709545 100239050 11 2 560017006 575052020 13-01-2008 20,000.00 709545 100246770 11 i want to convert it like 5600170395750520202211200300000008290000000000000709545010023905011... (8 Replies)
Discussion started by: suryanarayana
8 Replies

8. Shell Programming and Scripting

Hex to Decimal Convertion

Dear all, I have a file like this. EE48 4473 7FC9 EE48 102C D23 EE48 4DD 27D EE48 0 0 EE48 3FFE 854 F230 DC6 ... (1 Reply)
Discussion started by: Nayanajith
1 Replies

9. UNIX for Dummies Questions & Answers

Character Convertion Help Needed

Could someone please tell me how to convert double byte charaters to single byte characters in HP-UX 11.11 without installing any applications? e.g. I have a double byte string below and I want to convert it to a single byte string ABCdef123 ABCdef123 I tried using the iconv command but I... (3 Replies)
Discussion started by: stevefox
3 Replies

10. Filesystems, Disks and Memory


How to convert a .doc document to .pdf (2 Replies)
Discussion started by: areef4u
2 Replies
Login or Register to Ask a Question