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
Ascii to caracter flame_eagle Shell Programming and Scripting 4 02-22-2008 07:13 AM
how i prepare a c++ code(c code) for implementing my own protocol format amitpansuria High Level Programming 1 09-06-2007 08:09 PM
SSH key code versus server key code Texan Security 1 04-12-2006 08:57 AM
source code ASCII to HEx Thippeswamy Linux 1 01-30-2006 10:11 PM
Ftp :bin and ascii smehra UNIX for Advanced & Expert Users 1 03-08-2005 07:22 PM

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

Join Date: Jul 2006
Posts: 36
code ASCII for Caracter -->> '

I'm a question:

the expresiion 'expr $a +1' use the caracter --> ' (is not shift+ ? !!!)

what is the code ascii for generate this caracter ??????

tank's
Reply With Quote
Forum Sponsor
  #2  
Old 08-09-2006
Hitori's Avatar
Registered User
 

Join Date: Jun 2006
Posts: 360
See man ascii or http://en.wikipedia.org/wiki/ASCII
Reply With Quote
  #3  
Old 08-10-2006
...@...
 

Join Date: Feb 2004
Location: NM
Posts: 4,297
Perhaps you mean a backtick ` ASCII 96
The single tic or single quote ' is ASCII 39
Reply With Quote
  #4  
Old 08-10-2006
aigles's Avatar
Registered User
 

Join Date: Apr 2004
Location: Bordeaux, France
Posts: 1,212
With bash and ksh, you can also use the syntax $() :
Code:
$(expr $a +1)   # same as `expr $a +1`
Timestamp=$(date +'%Y%m%d%H%M%S')
Jean-Pierre
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 11:46 PM.


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