11-21-2011
Thanks for your response!
Reason why I don't use awk is because currently I'm learning c++.
anyway I've managed to solve my issues.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Hello,
The system reboots in single user mode
what command to use to bring the system up regularly??
I get
INIT: cannot create /var/adm/utmpx
Type control -d to proceede with a normal startup
or give root passwd for system maintaince.
either way i don't have a change and ... (1 Reply)
Discussion started by: awk
1 Replies
2. What is on Your Mind?
Welcome to "The trouble with...." with your host, ZazzyBob.
Todays offering - "The trouble with letting other people host your website"
I use a certain web hosting service, who shall of course remain nameless here.
They are running PHP 4.3.10
I decide to write a script to test their PHP... (6 Replies)
Discussion started by: zazzybob
6 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
having read lots of posts about SU I don't quiet understand this :
I'm doing regular backups of my database (u betta do) and therefore use su - username -c "sqlscript special data_base" in a unixscript which is even using cron. (yep!)
Now I need some other script, still with this... (4 Replies)
Discussion started by: nulnul7
4 Replies
4. Solaris
I'm not sure where to post this but it's happening on a SunOS 5.8 server so I'll try here.
I've discovered some unexpected behavior when using tr.
For example:
echo a | tr
Z
echo b | tr
a
echo a | tr
B
echo a | tr
B
echo a | tr
A (8 Replies)
Discussion started by: Mike@Work
8 Replies
5. UNIX for Dummies Questions & Answers
Hi there, I'm new to unix-environments.
I'm richard, and i'm mostly a web-developer, under php. I've done work in unix env before, but never had my own.
Today, I've got debian 3.1 r4 from the official site, and i've attempted to install it twice.
I installed it initially as "Desktop... (0 Replies)
Discussion started by: izua
0 Replies
6. Shell Programming and Scripting
Hi,
I have a string like ABC.123.XYZ-A1-B2-P1-C4. I want to delimit the string based on "-" and then get result as only two strings. One with string till last hyphen and other with value after last hyphen... For this case, it would be something like first string as "ABC.123.XYZ-A1-B2-P1" and... (6 Replies)
Discussion started by: gupt_ash
6 Replies
7. Programming
Hey, i am having a problem
First, i know java well and i have used C++ on occasion so i thought i would be able to deal with a class where they program in C. unfortunately i have hit some speed bumps that i am having problems.
Here is my problem:
I have a structure cache_t in the sample... (0 Replies)
Discussion started by: zephoid
0 Replies
8. Shell Programming and Scripting
Hi all,
I have a number of strings like below:
//mnt/autocor/43°13'(33")W/
and i'm trying to get the numbers in this string, for example
431333
please help
thanks ahead (14 Replies)
Discussion started by: sunnydanniel
14 Replies
9. Shell Programming and Scripting
Hi,
I have a No Delimiter variable length text file with following schema -
Column Name Data length
Firstname 5
Lastname 5
age 3
phoneno1 10
phoneno2 10
phoneno3 10
sample data - ... (16 Replies)
Discussion started by: Gaurav Martha
16 Replies
10. Shell Programming and Scripting
Hi,
Extremely new to Perl scripting, but need a quick fix without using TEXT::CSV
I need to read in a file, pass any delimiter as an argument, and convert it to bar delimited on the output. In addition, enclose fields within double quotes in case of any embedded delimiters.
Any help would... (2 Replies)
Discussion started by: JPB1977
2 Replies
LEARN ABOUT MOJAVE
ttk::frame
ttk::frame(n) Tk Themed Widget ttk::frame(n)
__________________________________________________________________________________________________________________________________________________
NAME
ttk::frame - Simple container widget
SYNOPSIS
ttk::frame pathName ?options?
_________________________________________________________________
DESCRIPTION
A ttk::frame widget is a container, used to group other widgets together.
STANDARD OPTIONS
-class -cursor -takefocus
-style
See the ttk_widget manual entry for details on the standard options.
WIDGET-SPECIFIC OPTIONS
[-borderwidth borderWidth] The desired width of the widget border. Defaults to 0. [-relief relief] One of the standard Tk border styles:
flat, groove, raised, ridge, solid, or sunken. Defaults to flat. [-padding padding] Additional padding to include inside the border.
[-width width] If specified, the widget's requested width in pixels. [-height height] If specified, the widget's requested height in pix-
els.
WIDGET COMMAND
Supports the standard widget commands configure, cget, identify, instate, and state; see ttk::widget(n).
NOTES
Note that if the pack, grid, or other geometry managers are used to manage the children of the frame, by the GM's requested size will nor-
mally take precedence over the frame widget's -width and -height options. pack propagate and grid propagate can be used to change this.
SEE ALSO
ttk::widget(n), ttk::labelframe(n), frame(n)
KEYWORDS
widget, frame, container
Tk 8.5 ttk::frame(n)