Linux / UNIX Tech Support Forum
This is a discussion on Config Parameter Expansion - How does it works? within the Shell scripting forums, part of the Development/Scripting category; if I add postfix_enable:="YES" in /etc/rc.conf postfix service starts on boot. However, if I don't it will not start on ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
| Sponsored Links | ||
|
|
|
||||
|
If postfix_enable is defined AND NOT EMPTY, use postfix_enable value; otherwise, use "NO". Try it the following at terminal:
Code:
vech="BUS"
echo $vech
echo ${vech:="CAR"}
vech=""
echo ${vech:="CAR"}
Code:
man bash
__________________
Vivek Gite Linux Evangelist |
| The Following User Says Thank You to nixcraft For This Useful Post: | ||
raj (08-07-2009)
| ||
|
||||
|
Thanks!
Um..I'm not able to edit my post and add [Solved] prefix.
__________________
Raj Linux rulz. I have never turned back in my life ; I shall not do so today.. haha |
|
||||
|
Must be permission issue. I will look into it ASAP.
__________________
Vivek Gite Linux Evangelist |
![]() |
| Tags |
| bash parameter expansion , ksh parameter expansion , parameter expansion , shell parameter expansion |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how autosys works with crontab in unix | minalsilimkar | Solaris/OpenSolaris | 0 | 19-01-2009 07:31 PM |
| How Linux modprobe command works and find out path for modules? | shariefbe | Linux software | 2 | 20-12-2008 11:43 PM |
| How to pass a parameter to a shell script | flyingrat | Shell scripting | 3 | 24-07-2008 02:01 PM |
| Increasing the KERNEL parameter | sathiya | Ubuntu / Debian | 4 | 01-02-2008 10:36 AM |
| iptables config 6881 | Linux software | 1 | 28-01-2006 11:23 AM | |