LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-08-2005, 06:18 AM   #1
Klas
Member
 
Registered: Oct 2003
Location: Uppsala, Sweden
Distribution: Mandrake 9.1, Mandrake 10.0
Posts: 77

Rep: Reputation: 15
Variable info in kdialog?


Hi

This code generates a small popup window i kde using kdialog:
Code:
kdialog --title "Popup window" --msgbox "TextTextTextTextTextTextTextTextTextText"
Is it possible to add some variable info among the text, for example "date" info?

Kind regards
Klas
 
Old 01-08-2005, 08:58 AM   #2
LasseW
Member
 
Registered: Oct 2004
Distribution: Fedora 7, OpenSuse 10.2
Posts: 108

Rep: Reputation: 15
Yes, like this

--msgbox "Text `date` Text"

or like this

MSG="Text `date` Text"
--msgbox "$MSG"
 
  


Reply


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
How to show a variable menu list in Kdialog? linx win Debian 1 11-26-2005 10:33 AM
kdialog replacement Khabi Linux - Software 2 04-09-2005 01:10 AM
variable to applications-all-users.vfolder-info acidjuice Linux - Software 0 03-15-2005 10:30 AM
calling a variable within a variable sdandeker Programming 9 04-28-2004 03:55 PM
How to get 'Window' variable from a 'Widget' variable bordel Programming 0 11-19-2003 03:19 AM


All times are GMT -5. The time now is 10:40 PM.

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