Sponsored Content
Top Forums UNIX for Dummies Questions & Answers "menuconfig" utility in Linux Post 302827951 by anand.shah on Monday 1st of July 2013 07:33:57 AM
Old 07-01-2013
"menuconfig" utility in Linux

Hello All,
I have a Kconfig file which contains configuration flags which will be set according to product.When you run "mconf" on Kconfig file you get a window where you can load default configuration file. My questions is that, Can we do this thing in shell script ? Is there any way to load default configuration stored in a file (let's say XYZ.cfg) in shell script ?
Something like below .....
Code:
mconf -f ./config/XYZ.cfg Kconfig

Thanks in advance !!!



Regards,
Anand Shah
 
ARRAY_PRODUCT(3)							 1							  ARRAY_PRODUCT(3)

array_product - Calculate the product of values in an array

SYNOPSIS
number array_product (array $array) DESCRIPTION
array_product(3) returns the product of values in an array. PARAMETERS
o $array - The array. RETURN VALUES
Returns the product as an integer or float. CHANGELOG
+--------+---------------------------------------------------+ |Version | | | | | | | Description | | | | +--------+---------------------------------------------------+ | 5.3.6 | | | | | | | The product of an empty array is now 1, when | | | before this function would return 0 for an empty | | | array. | | | | +--------+---------------------------------------------------+ EXAMPLES
Example #1 array_product(3) examples <?php $a = array(2, 4, 6, 8); echo "product(a) = " . array_product($a) . " "; echo "product(array()) = " . array_product(array()) . " "; ?> The above example will output: product(a) = 384 product(array()) = 1 PHP Documentation Group ARRAY_PRODUCT(3)
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy