I have one file:
123*100*abcd*10
123*101*abcd*-29*def
123*100*abcd*-10
123*102*abcd*-105*asd
I would like to parameterize the search patterns in the following way so that the user could dynamically change the search pattern.
*100* and *- (ie *minus)
*102* and *-
The output that is... (6 Replies)
Good day, great gurus,
I'm new to Perl, and programming in general. I'm trying to retrieve a column of data from my text file which spans a non-specific number of lines. So I did a regexp that will pick out the columns. However,my pattern would vary. I tried using a foreach loop unsuccessfully.... (2 Replies)
Hi Gurus,
I have a file say for ex. file1 which has 3500 lines in it which are different account numbers and another file (file2) which has 230000 lines in it. I want to read all the lines in file1 and delete all those lines from file2 which has that same pattern as in file1. I am not quite... (4 Replies)
Hello guys
I am sure that you will help me on this issue as you did earlier::)
Scenario :
I have a folder named "XYZ". It consist many sub-folders and subfolder contain severals files. there may be abc.dat in each subfolder. Now i want to seperate subfolders on follwing conditions-
if abc.dat... (12 Replies)
Hi everyone,
I am trying to retrieve certain log from a big file. The log size can be from 200 - 600 lines. I have 3 search patterns, out of which 2 (first and last lines) search patterns are common for all the transactions but 3rd search pattern (occurs in the middle of transaction) is... (5 Replies)
hello
i have two files
temp.txt
and temp_unique.text
the second file consists the unique fields from the temp.txt file
the strings stored are in the following form
4,4
17,12
15,65
4,4
14,41
15,65
65,89
1254,1298i'm able to run the following script to get the total count of a... (3 Replies)
Hi,
I am new to shell scripting and is working on a script to extract lines from a log file between two time stamps using awk command. After some research I used following command:
awk '/01 Oct 2011/{p=1} /10 Oct 2011/{p=0} p' test.log >> tmp.log
This works fine. But now i want to... (3 Replies)
Hi all !
I have 2 files:
file1:
1|AAA|123456
2|BBB|098765432
...
file2:
-|klk|AAA|$123.00|Qty.2|US
-|opi|EEE|$23.00|Qty.4|US
...
Output:
1|AAA|-|klk|AAA|$123.00|Qty.2|US
I would need to search the 3rd field of file2 for the patterns contained in the 2nd field of file1.
And... (10 Replies)
I would like to grep for aaa and bbb and ccc from one line in file1.txt in any order on a line on file2.txt
file1.txt
aaa bbb ccc
ddd fff ggg
hhh ddd jjj
jjj cccfile2.txt
aaa bbb ccc ddd fff ggg --> output whole line since it matches with aaa bbb ccc of file1.txt
aaa ddd jjj hhh --> no... (1 Reply)
Discussion started by: sdf
1 Replies
LEARN ABOUT OSX
pieperipherallabeler
piePeripheralLabeler(n) piePeripheralLabeler class piePeripheralLabeler(n)
__________________________________________________________________________________________________________________________________________________NAME
piePeripheralLabeler - tkpiechart pie peripheral style labeler class
SYNOPSIS
stooop::new piePeripheralLabeler canvas ?options?
switched::configure piePeripheralLabelerObject ?options?
switched::cget piePeripheralLabelerObject option
_________________________________________________________________DESCRIPTION
The pie peripheral style labeler object is used as a slice label placer for a pie object and is passed to the pie constructor via its
-labeler option (see the pie class manual).
The slice description text labels are arranged in 2 columns below the pie graphics, whereas the slice values are placed next to the slice
and actually follow the slice as the pie is updated. Each description label text is placed to the right of a rectangle, the background
color of which matches its corresponding slice. Each description label is actually a canvasLabel object.
There is no need to delete a piePeripheralLabeler object as it is automatically handled by the pie class.
stooop::new piePeripheralLabeler canvas ?options?
Creates a piePeripheralLabeler object in the specified Tk canvas. The piePeripheralLabeler object identifier is returned (refered to
as piePeripheralLabelerObject in this document).
switched::configure piePeripheralLabelerObject ?options?
Configures a piePeripheralLabeler object or returns all the options with their current values if no options are passed as parame-
ters.
switched::cget piePeripheralLabelerObject option
Returns an option value for the specified piePeripheralLabeler object.
OPTIONS -font value
Specifies a font for the slice labels. If not specified, the default font is system dependent.
-justify value
Specifies how to justify labels within their own column. Must be one of left, center or right. Defaults to left. For example, if
justification is right, all column labels right edges are aligned.
-offset value
Specifies the distance between the pie graphics and the closest slice label. This value may be specified in any of the forms
described in the canvas COORDINATES manual section.
-smallfont
Specifies a font for the slice values. It is usually a small font in order to avoid values overlapping when 2 slices are very close
to each other. If not specified, the description label font (-font option) is used.
-widestvaluetext
Specifies a string of maximum width for slice values (placed around the pie next to the slices), so that enough room is allocated
for these value labels when the pie width and height are set. It defaults to 00.0. For example, it could be set to "00.00 %".
TAGS
The labeler has the following specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information):
o piePeripheralLabeler(piePeripheralLabelerObject)
SEE ALSO
canvasLabel, pie, pieBoxLabeler
KEYWORDS
canvas, labeler, pie, slice
COPYRIGHT
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr>
tkpiechart 6.6 piePeripheralLabeler(n)