06-06-2012
Quote:
Originally Posted by
itkamaraj
is this kind of homework ?
Yes it is. Scores a 0.998 on my built-in homeworkometer.
-closed-
bakunin
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
2. Shell Programming and Scripting
Hi,
I have two files viz,
rak1:
$ cat rak1
rak2:
$ cat rak2
sdiff rak1 rak2 returns:
I want the lines that got modified, changed, or deleted preceding with the section they are in.
I have done this so far: (1 Reply)
Discussion started by: rakeshou
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have the below content in file:
<xmlfile> ows_Body="Hi" ows_Title="Title" ows_Author="krishna" </xmlfile>
I wanted to remove ows_Body content from the file.
I am using the below code
sed -e 's/ows_Body.*ows/ows/g'
Giving output: (9 Replies)
Discussion started by: mahish20
9 Replies
4. UNIX for Dummies Questions & Answers
I am interested in finding a pattern that looks like this
AABBACC
These letters are just for example but they can be any letter in the alphabet as long as they are different from each other, but the letter found in a certain spot should act like in the pattern above.
Thanks! (7 Replies)
Discussion started by: moyzZ
7 Replies
5. Shell Programming and Scripting
I have a output like below:
A1
B2
C1
D3
A12
B4
A14
I am trying to find A1 by using grep
grep -i "A1"
But I got (4 Replies)
Discussion started by: anupdas
4 Replies
6. Homework & Coursework Questions
how can i find related pattern in a text file without using grep command in unix (2 Replies)
Discussion started by: feint
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
i need some help regarding finding a pattern in files inside a direstory.
i have these files
abc123.txt
cemj111.txt
ckmem.txt
cmick.txt
crnnc.txt
montt.txt
xyz123.txt
dfd123.txt
cvv123.txt
i need to find the files with name "*123.txt" which does not contain a perticular... (2 Replies)
Discussion started by: debu182
2 Replies
8. Shell Programming and Scripting
i have little challenge, help me out.i have a file where i have a value declared and and i have to replace the value when called. for example i have the value for abc and ccc. now i have to substitute the value of
value abc and ccc in the place of them.
Input File:
go to &abc=ddd;
if... (16 Replies)
Discussion started by: saaisiva
16 Replies
9. Shell Programming and Scripting
Hi,
I've to find the file which has the pattern
"Delete Report for History Tables"
and need to search this file pattern from directory which has sub directories as well.
I'm using ksh 88
Please suggest me which command will be used to find the file pattern .
Thanks. (1 Reply)
Discussion started by: smile689
1 Replies
10. Shell Programming and Scripting
I have a file like below.
2018.07.01, Sunday
09:27 some text 123456789 0 21 0.06 0.07 0.00
2018.07.02, Monday
09:31 some text 123456789 1 41 0.26 0.32 0.00
09:39 some text 456789012 1 0.07 0.09 0.09
09:45 some text 932469494 1 55 0.29 0.36 0.00
16:49 some text 123456789 0 48 0.12 0.15 0.00... (9 Replies)
Discussion started by: father_7
9 Replies
LEARN ABOUT OSX
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)