Latest LQ Deal: Linux Power User Bundle
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, 01: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, 10: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 05:52 AM
Variable info in kdialog? Klas Programming 1 01-08-2005 08:58 AM
can someone show me a good sources.list? MadSkillzMan Yoper 7 11-12-2004 07:43 PM
Some of my afferos don't show on the history list ppuru LQ Suggestions & Feedback 10 08-17-2004 10:57 AM
Can APT show me list of files for not-installed pkgs? johnMG Debian 11 04-14-2004 02:59 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:56 PM.

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