![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | 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 here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stripping the spaces in a string variable | rag84dec | Shell Programming and Scripting | 3 | 03-27-2008 12:16 AM |
| adding spaces for a variable value | dnat | Shell Programming and Scripting | 2 | 02-26-2008 02:32 AM |
| appending spaces to a variable | rallapalli | Shell Programming and Scripting | 2 | 08-12-2007 10:23 PM |
| spaces trimming while assigning to a variable | Lokesha | SUN Solaris | 2 | 06-06-2006 11:09 PM |
| Strip leading and trailing spaces only in a shell variable with embedded spaces | jerardfjay | Shell Programming and Scripting | 6 | 03-07-2005 11:24 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Variable containing spaces
Hi,
my var is: PATH_LOG=/opt/WebSphere/CR Comune Roma.log a filename which contains blank chars. How can I call it from prompt ? Ex: ls $PATH_LOG or cat $PATH_LOG tks, Carmen- |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
ls "$PATH_LOG"
cat "$PATH_LOG" |
|
#3
|
|||
|
|||
|
cool !!
|
|||
| Google The UNIX and Linux Forums |