Meanwhile I tried to write something on my own and finally managed to do so..
It's not pretty and it's not optimized, but it works..
Would be nice, if s.o. could tell me, if I made any mistakes,
or if s.th. could/should be made differently..
Here is my bash-version using: comm, cut, factor, let, sed and tr
Hi unix-friends,
I've got an RS6000 with Unix 4.3 as OS.
I'm writing a script that i want to use for cancelling all print jobs at once. Does anyone have any good idea's, hints, or tips?
Hope to hear from you,
Erik (3 Replies)
Hi all
In Aix system Someone know i want to cancel the massage. if some user print something and user root deleting the job i got brodcast message " message from queueing system job number XXX has been deleteing from queue. <EOT> "
I use the cancel command (1 Reply)
I need help, please!!!!!!!!
I have accidentally selected to compile all my programs, which will probably take forever!! How can I cancel the compiling of the programs. I see in qstatus the huge list of programs waiting to be compiled.
Thanks! :eek: (1 Reply)
hi, im trying to compare two variables in csh to put in an if statement, eg:
set a = $firstnum
set b = $secondnum
if ($a -ge $b) echo $a
But I get an error ("if: Expression syntax"). How can I make csh see my variables as integers?
thanks in advance! (5 Replies)
I'm trying to write an integer to a file using the write() function, but write() requires the parameter to be written to be a const void*.
How would I go about doing this?
also: using itoa() produces a " warning: implicit declaration of function 'itoa' " even though i have #included stdlib.h (2 Replies)
Discussion started by: h@run
2 Replies
6. Post Here to Contact Site Administrators and Moderators
Hi Everyone,
I am trying to cancel a print. I am logged on as the user of the print and when I use the command 'cancel print_job' I get the message 'print_job: not authorized'
I have cancelled other prints in the queue, but this particular job in the queue cannot delete. I even logged on as... (5 Replies)
Hi,
I am working in bash in Mac OSX, I have following 'input.txt' file:
<INFO> HypoTestTool: >>> Done running HypoTestInverter on the workspace combined
<INFO> HypoTestTool: The computed upper limit is: 11 +/- 1.02651
<INFO> HypoTestTool: expected limit (median) 11
<INFO> HypoTestTool: ... (13 Replies)
Hi,
I can't figure out what I'm missing. I'm running a query to see if there are any streams recording on my DVR before starting a scripted update. I'm guessing that it is viewing $VIDEO as a string instead of an int. I've tried everything I saw on google but it still comes back as $VIDEO is... (8 Replies)
Discussion started by: Rhysers
8 Replies
LEARN ABOUT NETBSD
factor
FACTOR(6) BSD Games Manual FACTOR(6)NAME
factor -- factor a number
SYNOPSIS
factor [number ...]
DESCRIPTION
The factor utility factors integers larger than 1. When a number is factored, it is printed, followed by a ``:'', and the list of (prime)
factors on a single line. Factors are listed in ascending order, and are preceded by a space. If a factor divides a value more than once,
it will be printed more than once.
When factor is invoked with one or more arguments, each argument will be factored.
When factor is invoked with no arguments, factor reads numbers, one per line, from standard input, until end of file or error. Leading
white-space and empty lines are ignored. Numbers may be preceded by a single +. Integer less than 2 are rejected. Numbers are terminated
by a non-digit character (such as a newline). After a number is read, it is factored. Input lines must not be longer than LINE_MAX - 1
(currently 2047) characters.
By default, factor is compiled against the OpenSSL bignum implementation openssl_bn(3), which lets it handle arbitrarily large values. (Note
however that very large values can take a very long time to factor.) If factor is compiled without OpenSSL it is limited to the maximum value
of unsigned long.
DIAGNOSTICS
Out of range or invalid input results in an appropriate error message being written to standard error.
BSD May 15, 2010 BSD