05-31-2008
10 More Discussions You Might Find Interesting
1. Solaris
I have a window open on my ultra 10 - a terminal window connecting to a server.
Is there any way I can log all output to this window to a log file on my ultra 10 ? (2 Replies)
Discussion started by: frustrated1
2 Replies
2. Shell Programming and Scripting
Hello everybody,
Is there a more elegant way to make dual output (display on standard output and append to a file) while I'm executing a shell script, besides duplicating the echo command for every string?
echo "Message..." > 1
echo "Message..." >> myfile.out
Thank you for your time,... (2 Replies)
Discussion started by: AdrianM
2 Replies
3. Shell Programming and Scripting
This is about to drive me crazy. What I want to do is simple:
output ALL the verbose information from curl to a file
I have read the manual, tried several options and searched this forum but no salvation...
I'm using
curl -k -Q "command" --user user:passwd --ftp-pasv --ftp-ssl -v... (1 Reply)
Discussion started by: caramandi
1 Replies
4. Shell Programming and Scripting
hi there !
i have exactly the same problem like this guy here
https://www.unix.com/shell-programming-scripting/127668-getting-curl-output-verbose-file.html
i am not able to save the curl verbose output..
the sollution in this thread (redirecting stderr to a file) does not work for me.... (0 Replies)
Discussion started by: crabmeat
0 Replies
5. UNIX for Dummies Questions & Answers
Hi, I'm attacking this from ignorance because I am not sure how to even ask the question.
Here is the mission:
I have a list of about 4,000 telephone numbers for past customers. I need to determine how many of these customers are still in business.
Obviously, I could call all the numbers.... (0 Replies)
Discussion started by: jccbin
0 Replies
6. Shell Programming and Scripting
Hello all. I've been lurking here for a year or two and finally decided to post.
I need some assistance with file descriptors, stdout, and redirecting output. I've searched through a number of very helpful threads here (unfortunately I can't link to any of them yet due to my low post count...),... (2 Replies)
Discussion started by: Michael_K
2 Replies
7. Shell Programming and Scripting
I'm using the following script to check cisco router health and I'd like to save output to a file,
vty_runcmd.sh > /check/check-cisco-health
script works and output is saved to a file. However using it in crontab file is created but output is not printed inside it. In crontab,
*/5 * * * *... (4 Replies)
Discussion started by: marmellata
4 Replies
8. Shell Programming and Scripting
Hi there.
i have created a program that in the end it will give output like this
1 2 3 4 5
10 9 8 7 6
11 12 13 14 15
.............. 17
i wonder how to save the output into a single string and into a file.
i.e 1 10 11 12 9 2 3 8 13 14 7 4 5 6 15 17 (in this order,... (3 Replies)
Discussion started by: shdin271
3 Replies
9. Shell Programming and Scripting
I am trying to modify the "corestat v1.1" code which is in Perl.The typical output of this code is below:
Core Utilization
CoreId %Usr %Sys %Total
------ ----- ----- ------
5 4.91 0.01 4.92
6 0.06 ... (0 Replies)
Discussion started by: Zam_1234
0 Replies
10. UNIX for Beginners Questions & Answers
Why does this until false; do history | head -5; done
result in a stdout infinite loop, yet until false; do history | head -5 > hist5; done
only writes it once to file hist5? Furthermore, I can hear the hard drive working on the 2nd command until I end the process, but the history | head -5 is... (1 Reply)
Discussion started by: Xubuntu56
1 Replies
LEARN ABOUT DEBIAN
swf::button
.::SWF::Button(3pm) User Contributed Perl Documentation .::SWF::Button(3pm)
NAME
SWF::Button - SWF button class
SYNOPSIS
use SWF::Button;
$button = new SWF::Button();
$button->setUp($shape1);
$button->setDown($shape2);
DESCRIPTION
Creates buttons for flash movies. Buttons are controlled by various methods for visible design and triggered actions, see below:
METHODS
new SWF::Button()
Creates a new Button object.
$button->addShape($shape, FLAG)
Adds $shape to the button. Using this method is not recommended, better use addCharacter(), see next item for details. Also unlike
addCharacter() this method does not return any SWF::ButtonRecord objects
$buttonrecord = $button->addCharacter($character [, $flags])
Adds character $shape to the button. Valid FLAGs are:
SWFBUTTON_HIT
SWFBUTTON_UP
SWFBUTTON_DOWN
SWFBUTTON_OVER
Unlike addShape() this method returns an object of SWF::ButtonRecord class. The flag states can be combined using the binary or
operator.
$buttonrecord = $button->setOver($shape)
Shortcut for $button->addCharacter($shape, SWFBUTTON_OVER);
$buttonrecord = $button->setHit($shape)
Shortcut for $button->addCharacter($shape, SWFBUTTON_HIT);
$buttonrecord = $button->setUp($shape)
Shortcut for $button->addCharacter($shape, SWFBUTTON_UP);
$buttonrecord = $button->setDown($shape)
Shortcut for $button->addCharacter($shape, SWFBUTTON_DOWN);
$button->addAction($action [,FLAG])
$button->setAction($action [,FLAG])
Adds $action object (see SWF::Action). Valid FLAGs are:
SWFBUTTON_MOUSEUP
SWFBUTTON_MOUSEOVER
SWFBUTTON_MOUSEOUT
SWFBUTTON_MOUSEDOWN
SWFBUTTON_DRAGOVER
SWFBUTTON_DRAGOUT
SWFBUTTON_MOUSEUP is the default value of FLAG.
$button->setMenu(0|1)
Parameter is 0 (off) or 1(on). Can be used for a slight different behavior of buttons.
$soundinstance = $button->addSound($sound, $flags)
Plays a prepared SWF::Sound object and returns an object of SWF::SoundInstance. Once more valid flags are:
SWFBUTTON_MOUSEUP
SWFBUTTON_MOUSEOVER
SWFBUTTON_MOUSEOUT
SWFBUTTON_MOUSEDOWN
For example:
$sound = new SWF::Sound("wow.mp3", SWF_SOUND_MP3_COMPRESSED );
$soundinstance = $button->addSound($sound, SWFBUTTON_MOUSEDOWN );
$button->setScalingGrid($x, $y, $w, $h)
This function (available from SWF>=8) sets a 9 slice scaling grid: 1 2 3 4 5 6 7 8 9 X, y, w and h define a rectangle, which is the
dimension of the center slice(5). All other slices are determined out of the characters bounds and the defined rect. While slice 5 is
scaled vertical and horizontal, slice 2 and 8 are only scaled horizontal. Slice 4 and 6 only vertical. The 4 corner slices are not
scaled (1, 3, 7, 9).
$button->removeScalingGrid()
Removes scaling grid rectangles.
AUTHOR
wrapper written by
Soheil Seyfaie (soheil at users dot sourceforge dot net) Peter Liscovius (peterdd at users dot sourceforge dot net) and many others.
SEE ALSO
SWF, SWF::Action, SWF::Shape, SWF::Movie, SWF::MovieClip, SWF::Constants, SWF::Sound, SWF::SoundInstance
perl v5.14.2 2011-10-26 .::SWF::Button(3pm)