${parameter:=word}:

If parameter is unset or null, the expansion of word is assigned to parameter.
The value of parameter is then substituted. 
Positional parameters and special parameters may not be assigned to in this way.

${var:-value}: 

if ${var} is set and not null, or value otherwise.
The ${var-value} construct is similar, but checks only that the variable is set.

${var:=value} and ${var=value}:

if var is unset (and also set, but null for the := form).

${var:?message}:

display message to stderr and then exit if var is unset or null.
This should generally not be used within ebuilds as it does not use the die mechanism.
There is a ${var?message} form too.

${var:+value}:

if var is set and not null, or a blank string otherwise.
There is a ${var+value} form.

 

 

URL

راه اندازی سرور DNS در دبیان9

Shell scriptمقدار پیش‌فرض به متغیر

دستورات کنترلی در برنامه virtualBox

is ,{var ,value} ,the ,and ,null ,{var value} ,if var ,var is ,is unset ,is set

مشخصات

تبلیغات

برترین جستجو ها

آخرین جستجو ها

رویای بیت کوین Bitcoin Dream پرسش و پاسخ وردپرس سایت کیم کالا فروشگاه اینترنتی Lotus Water Psychology سایه وارونه داده پردازی نرم افکار اپیکیشن نت مانی net money مرکز تخصصی گچبری و قالبسازی آذین بیوگرافی ابوالفضل بابادی شوراب گروه هنری اولین اکشن سازان جوان اقیانوس طلایی .:: تنفّس صــــبح ::. شین نویسه خبر شهدای مدافع حرم پایکد نقاشی کشیدن درمان مو کبدچرب Sh.S نمونه سوالات استخدامی بانک تجارت (فروردین 1400) رسانه ارزهای دیجیتال و صرافی Coinex مرکز ماساژ در تهران