From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1PZkd3-000654-D2 for mharc-grub-devel@gnu.org; Mon, 03 Jan 2011 08:39:17 -0500 Received: from [140.186.70.92] (port=34338 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZkd0-00062K-MZ for grub-devel@gnu.org; Mon, 03 Jan 2011 08:39:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZkcy-00063p-PE for grub-devel@gnu.org; Mon, 03 Jan 2011 08:39:14 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:56673) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZkcy-00063f-MG for grub-devel@gnu.org; Mon, 03 Jan 2011 08:39:12 -0500 Received: by iwn40 with SMTP id 40so15007906iwn.0 for ; Mon, 03 Jan 2011 05:39:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=UMcUkZsUBEOEh0wCW/qLzI0lW5eroeL8cFuBSuFeMUg=; b=psAADOOH6fmfe+X8+3wy4y9qGCGTSJbLuDX6boccZsYIkjLZB8TSZWjOppS4xzjNpH DobKnB24wq0dPEJJi/oTV9t/yVjn2v5tY9VqAyN6wDa0vrxbH0GGL8fSl1fNFH/tuMMR fMsv7WTojqE8PWonnRTGadvV67GAxYcvH0XTw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=crN8pkX4SB/gjPzSP8fK6gzXagEBBFuQyp4weOF8RuJhU3L7JttFL+eBaGhjOSsee5 TUoOBcNPCI5tdOYsDZTuxMaEJu7UZdANKRLBqeUYknaj5CloMQ77l0kI+gW4nryvT8Lk G2WY/VK1K5vqgiygC5ezbsZcazmBRuysfl3GA= Received: by 10.42.176.202 with SMTP id bf10mr21112871icb.104.1294061951640; Mon, 03 Jan 2011 05:39:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.68.69 with HTTP; Mon, 3 Jan 2011 05:38:51 -0800 (PST) From: Gnanasekar Loganathan Date: Mon, 3 Jan 2011 19:08:51 +0530 Message-ID: To: The development of GNU GRUB Content-Type: text/plain; charset=UTF-8 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Regarding ENV variable X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Jan 2011 13:39:15 -0000 Hi All, i'm setting environment variable by set mycmd="knetbsd netbsd.g" if call my own command, end up with no argument error. grub> myboot $mycmd myboot: usage knetbsd if do echo $mycmd, getting the correct string grub> echo $mycmd knetbsd netbsd.g if i directly run, throw unknown command grub>$mycmd error: unknown command `knetbsd netbsd.g'. How do i pass 2 arguments from single env variable or how to run the env as command? Kindly advice or help me.... Thanks, Gnana