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 ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| 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 (07-08-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 | 01-19-2009 08:31 PM |
| How Linux modprobe command works and find out path for modules? | shariefbe | Linux software | 2 | 12-21-2008 12:43 AM |
| How to pass a parameter to a shell script | flyingrat | Shell scripting | 3 | 07-24-2008 03:01 PM |
| Increasing the KERNEL parameter | sathiya | Ubuntu / Debian | 4 | 02-01-2008 11:36 AM |
| iptables config 6881 | Linux software | 1 | 01-28-2006 12:23 PM | |