![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Variable Size Problem | Bob_Loblaw | UNIX for Dummies Questions & Answers | 0 | 09-17-2007 12:28 PM |
| Help me in this variable problem | SankarV | Shell Programming and Scripting | 4 | 03-31-2007 11:47 AM |
| grep for a variable problem | MizzGail | UNIX for Dummies Questions & Answers | 7 | 03-01-2006 01:09 PM |
| PATH variable problem | frustrated1 | Shell Programming and Scripting | 7 | 07-14-2005 01:42 PM |
| Problem with variable type | siavoush | Shell Programming and Scripting | 2 | 09-07-2003 05:04 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
problem with underscore in variable name
can you help please.
variable 1 = TODAY=`date +"%Y%m%d"` i.e. echo $TODAY 20080407 DB=GERMANY echo $DB GERMANY echo $DB.$TODAY GERMANY.20080407 echo $DB.$TODAY_1.dmp [which is what i need to display!] GERMANY..dmp I need to find out how to include the underscore in my variable thank you |
| Forum Sponsor | ||
|
|
|
#2
|
|||
|
|||
|
echo $DB.$TODAY"_1.dmp"
|
|
#3
|
|||
|
|||
|
Code:
${TODAY}_
|
|
#4
|
|||
|
|||
|
works - thanks
|
|||
| Google The UNIX and Linux Forums |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|