Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 11-05-2005, 02:21 PM   #1
linx win
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
How to show a variable menu list in Kdialog?

I am trying to do a simple program with kdialog which has a variable list such as (This is taken from /usr/sbin/netcardconfig file):

Xdialog --menu "Select a card" 18 45 12 $NETDEVICES 2>"/tmp/mydevice"

I did:

kdialog --menu "Select a card" $NETDEVICES 2>"/tmp/mymodem"

The variable list is obtained by this line:

NETDEVICES="$(cat /proc/net/dev | awk -F: '/eth.:|tr.:|wlan.:/{print $1}')"

But did not work. Any idea?
Old 11-26-2005, 11:33 AM   #2
linx win
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Again can some one help?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
making select show its menu in a bash script? zidane_tribal Programming 6 05-02-2005 06:52 AM
Variable info in kdialog? Klas Programming 1 01-08-2005 09:58 AM
can someone show me a good sources.list? MadSkillzMan Yoper 7 11-12-2004 08:43 PM
Some of my afferos don't show on the history list ppuru LQ Suggestions & Feedback 10 08-17-2004 11:57 AM
Can APT show me list of files for not-installed pkgs? johnMG Debian 11 04-14-2004 03:59 PM

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration