The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
Google UNIX.COM


Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to replace any char with newline char. mightysam Shell Programming and Scripting 5 09-18-2008 05:15 PM
char c = 882 useless79 High Level Programming 1 07-30-2007 02:16 AM
char *p and char p[]. arunviswanath High Level Programming 4 07-19-2006 11:11 PM
Convert Char to Dec using AWK jasmine05 Shell Programming and Scripting 4 06-09-2005 12:50 AM
\n char in C C|[anti-trust] High Level Programming 1 05-05-2005 03:15 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 09-11-2005
Registered User
 

Join Date: Sep 2005
Posts: 22
Red face how to convert char to num

how to convert char to num or visa versa
i am a beginner how to do it can someone guide me please
Reply With Quote
Forum Sponsor
  #2  
Old 09-11-2005
reborg's Avatar
Administrator
 

Join Date: Mar 2005
Location: Ireland
Posts: 3,644
Ususally in a script you don't need to.
Reply With Quote
  #3  
Old 09-12-2005
RishiPahuja's Avatar
Registered User
 

Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Thumbs up

if you are speaking of "C" there you have functions
itoa and atoi to do the conversion
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:04 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0