The UNIX and Linux Forums
>
Top Forums
>
Shell Programming and Scripting
non-variables with $
.
User Name
Remember Me?
Password
google unix.com
Forums
Register
Forum Rules
Links
Albums
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
Thread
:
non-variables with $
View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
#
4
(
permalink
)
08-23-2005
RishiPahuja
Registered User
Join Date: Apr 2005
Location: Bangalore, India
Posts: 203
Also adding a '\' just before the $ will do.
say you want to print $hello
it will be
Code:
echo \$hello
RishiPahuja
View Public Profile
Find all posts by RishiPahuja
Find RishiPahuja's past nominations received
Find RishiPahuja's present nominations given