10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
The following is a multi-line shell command example:
$cargo build
Compiling prawn v0.1.0 (/Users/ag/rust/prawn)
error: failed to resolve: could not find `setup_panix` in `human_panic`
--> src/main.rs:14:22
|
14 | human_panic::setup_panix!();
| ... (2 Replies)
Discussion started by: yogi
2 Replies
2. Shell Programming and Scripting
I am currently try to write a simple script with the following condition, but so far not having luck as the exit code would always be 0.
Run remote command to read a file and grep for test word.
if test word is in the file, send email.
if not, do nothing
also possible to ssh to multiple... (3 Replies)
Discussion started by: jaapar
3 Replies
3. Shell Programming and Scripting
Hi Gurus,
I have requirement to compare current result with previous reuslt.
The sample case is below.
1 job1 1
1 job2 2
1 job3 3
2 job_a1 1
2 job_a2 2
2 job_a3 3
3 job_b1 1
3 job_b2 2
for above sample file, GID is group ID, for input line, the job run... (1 Reply)
Discussion started by: ken6503
1 Replies
4. Shell Programming and Scripting
Hey everyone
I have a file 'agenda' which contains:
Object Day Month Year
Birthday 09 02 2012
i want to extract from a script the line which contains the day the user typed.
for example if he type 09 the line is showed using... (4 Replies)
Discussion started by: Goldstein
4 Replies
5. Shell Programming and Scripting
I am looking for a free whois lookup tool or some "scripting help" that will give uniform result for whois lookup from the linux command line.
Currently:
whois of a .co.nz domain results nameserver as follows.
ns_name_01: ns1.domain.co.nz
ns_name_02: ns2.domain.co.nz
While that of a .net... (5 Replies)
Discussion started by: anilcliff
5 Replies
6. Shell Programming and Scripting
Hi All;
I need to send emails from command line in some of my shell scripts.
I tried : mail -s "Subject" member@body.com < testfile
where test file contains body of the mail
This work on my mac computer at work BUT not on my mac laptop.
Does anyone have any ideas why?
Thanks
Walforum (1 Reply)
Discussion started by: walforum
1 Replies
7. Shell Programming and Scripting
Hi everyone,
when executing this command in unix:
echo "WM7 Fatal Alerts:", $(cat query1.txt) > a.csvIt works fine, but running this command in a shell script gives an error saying that there's a syntax error.
here is content of my script:
tdbsrvr$ vi hc.sh
"hc.sh" 22 lines, 509... (4 Replies)
Discussion started by: 4dirk1
4 Replies
8. Shell Programming and Scripting
Hello,
I am trying to learn how to pass something more than a one-command startup for gnome-terminal.
I will give an example of what I'm trying to do here:
#! /bin/bash
#
#TODO write this for gnome and xterm
USAGE="
______________________________________________
${0##*/}
run... (0 Replies)
Discussion started by: Narnie
0 Replies
9. Shell Programming and Scripting
I would like to send results as log to a file on unix.
When I try to run following command, no command_result file occured. I can't see logs.
How can I put the results to a file with java command on unix ?
java -classpath . HelloWorld $parameter>command_result (2 Replies)
Discussion started by: senem
2 Replies
10. UNIX for Dummies Questions & Answers
Hi, I am trying to send mail in ubuntu. I have installed postfix. In Redhat I could just type:
mail name@domain.com
I get the error that the command mail is not found. Does anyone know if there is a different command line to send mail? Can I install the command?
Thanks,
Eric (1 Reply)
Discussion started by: ejbrever
1 Replies
ttk::labelframe(3tk) Tk Themed Widget ttk::labelframe(3tk)
__________________________________________________________________________________________________________________________________________________
NAME
ttk::labelframe - Container widget with optional label
SYNOPSIS
ttk::labelframe pathName ?options?
_________________________________________________________________
DESCRIPTION
A ttk::labelframe widget is a container used to group other widgets together. It has an optional label, which may be a plain text string
or another widget.
STANDARD OPTIONS
-class -cursor -takefocus
-style
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
Command-Line Name:-labelanchor
Database Name: labelAnchor
Database Class: LabelAnchor
Specifies where to place the label. Allowed values are (clockwise from the top upper left corner): nw, n, ne, en, e, es, se, s,sw,
ws, w and wn. The default value is theme-dependent.
Command-Line Name:-text
Database Name: text
Database Class: Text
Specifies the text of the label.
Command-Line Name:-underline
Database Name: underline
Database Class: Underline
If set, specifies the integer index (0-based) of a character to underline in the text string. The underlined character is used for
mnemonic activation. Mnemonic activation for a ttk::labelframe sets the keyboard focus to the first child of the ttk::labelframe
widget.
Command-Line Name:-padding
Database Name: padding
Database Class: Padding
Additional padding to include inside the border.
Command-Line Name:-labelwidget
Database Name: labelWidget
Database Class: LabelWidget
The name of a widget to use for the label. If set, overrides the -text option. The -labelwidget must be a child of the labelframe
widget or one of the labelframe's ancestors, and must belong to the same top-level widget as the labelframe.
Command-Line Name:-width
Database Name: width
Database Class: Width
If specified, the widget's requested width in pixels.
Command-Line Name:-height
Database Name: height
Database Class: Height
If specified, the widget's requested height in pixels. (See ttk::frame(3tk) for further notes on -width and -height).
WIDGET COMMAND
Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget(3tk).
SEE ALSO
ttk::widget(3tk), ttk::frame(3tk), labelframe(3tk)
KEYWORDS
widget, frame, container, label, groupbox
Tk 8.5 ttk::labelframe(3tk)