![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Escaping the * character in ksh. | arvindcgi | Shell Programming and Scripting | 6 | 05-19-2008 10:50 AM |
| escaping single quote | javeed7 | Shell Programming and Scripting | 3 | 04-02-2008 06:36 AM |
| problem escaping newline in ksh | JamesByars | Shell Programming and Scripting | 7 | 01-05-2008 05:51 PM |
| bash script help: escaping the '*' | mark_nsx | Shell Programming and Scripting | 18 | 10-07-2005 09:20 AM |
| ctrl-c: not escaping command | dangral | UNIX for Dummies Questions & Answers | 3 | 06-23-2004 05:36 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Escaping '*' in Bash
I have the following situation
============ export DirectoryName=/tmp/xyz if [ -d $DirectoryName ] ; then some_new_env=$DirectoryName"/*" ======================= I tried all the ways of escaping the '*', but still the shell seems to expand the '*' character. I want some_new_env to contain "/tmp/xyz/*" Any ideas? |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|