In exec function say when i would like to remove the files
exec rm{}\;
Why is this "\" needed immediately after {} and what if i dont give it?
TIA,
Nisha (1 Reply)
hi
iam reading data from web page using request socket and curl socket.
now my problem is some the web page containg data as a image so how can i read the data from a image.
thank,inadvance.
sree (3 Replies)
I have read that exec "replaces the current process with a new one".
So I did
$ exec ls
and after this executed, my shell disappeared. I am assuming that my shell had PID xyz, and when I did exec ls, this ls got pid xyz, and when it terminated, there was no more shell process running, and... (5 Replies)
I am using a third party job management program called Autosys. the command to load a jil into the autosys database is jil < somefilename.jil
I have a directory and it in are a lot of jils. rather than type jil < somefilename.jil for every file I would like to script something do do it. if cd... (2 Replies)
Hi all,
I had an issue regarding use of `` or exec in perl . `` are considered to be unsafe. Why? In my case an user would be giving some parameters as input and I will form an command of it and execute it using ``. It is important to capture output as i have to parse the output. As well as I need... (0 Replies)
All,
I am using below shell script to output the content to outputfile.txt. What I am looking for is in addition to outputfile.txt, I want the output to be on standard output too.
exec > outputfile.txt
echo "Starting "
echo "ending" (5 Replies)
Hi,
on AIX 6.L
I want to copy the result of grep -v to test directory then :
`hostname`@oracle$ls -l | grep -v RINT -exec cp {} test
grep: can't open -exec
grep: can't open cp
grep: can't open {}
test:°`.
Can you help me ?
Thank you. (3 Replies)
Hi,
I need to delete the last N days file using find.
I am trying to use
find . -mtime -10 -print
which lists down required files.
but when i use
find . -mtime -10 -exec ls -lrt {} \;
it gives me all files in the directory including the required files but the required files... (7 Replies)
I have the following bash script lines in a file named test.sh.
#!/bin/bash
#
# Write Date to cron.log
#
echo "Begin SSI Load $(date +%d%b%y_%T)"
#
# Get the latest rates file for processing.
#
d=$(ls -tr /rms/data/ssi | grep -v "processed" | tail -n 1)
filename=$d
export filename... (3 Replies)
Discussion started by: ginowms
3 Replies
LEARN ABOUT DEBIAN
pieboxlabeler
pieBoxLabeler(3tk) pieBoxLabeler class pieBoxLabeler(3tk)__________________________________________________________________________________________________________________________________________________NAME
pieBoxLabeler - tkpiechart pie box style labeler class
SYNOPSIS
stooop::new pieBoxLabeler canvas ?options?
switched::configure pieBoxLabelerObject ?options?
switched::cget pieBoxLabelerObject option
_________________________________________________________________DESCRIPTION
The pie box 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 labels are arranged in 2 columns below the pie graphics. Each label text is placed to the right of a rectangle, the background color of
which matches its corresponding slice. The slice share value is placed to the right of the label text, separated by a semicolon. Each label
is actually a canvasLabel object (see the canvasLabel class manual for further information).
There is no need to delete a pieBoxLabeler object as it is automatically handled by the pie class.
stooop::new pieBoxLabeler canvas ?options?
Creates a pieBoxLabeler object in the specified Tk canvas. The pieBoxLabeler object identifier is returned (referred to as pieBoxLa-
belerObject in this document).
switched::configure pieBoxLabelerObject ?options?
Configures a pieBoxLabeler object or returns all the options with their current values if no options are passed as parameters.
switched::cget pieBoxLabelerObject option
Returns an option value for the specified pieBoxLabeler 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.
TAGS
The labeler has the following specific tag (see the canvas manual page ITEM IDS AND TAGS section for more information):
o pieBoxLabeler(pieBoxLabelerObject)
SEE ALSO
canvasLabel, pie, piePeripheralLabeler
KEYWORDS
canvas, labeler, pie, slice
COPYRIGHT
Copyright (c) 1995-2004 Jean-Luc Fontaine <jfontain@free.fr>
tkpiechart 6.6 pieBoxLabeler(3tk)