Hi,
I'm writing a script and have become stuck trying to define a variable (COMP) by adding an elapsed time (ELAPSE e.g 00:55) to a start time (START e.g 23:50).
Can anybody give me a solution as to how I can get a completion time in hh:mm from the variables above?
thanks
Richard (4 Replies)
Hello,
from the gnu sed manual, I should be able to do this:
`\(REGEXP\)'
Groups the inner REGEXP as a whole, this is used to:
* Apply postfix operators, like `\(abcd\)*': this will search
for zero or more whole sequences of `abcd', while `abcd*'
... (3 Replies)
Hello all,
I`ve the following problem - I cannot start inetd in any way possible:
bash-3.00# svcs inetd
STATE STIME FMRI
offline Jul_30 svc:/network/inetd:default
bash-3.00#
bash-3.00# svcadm enable -r inetd
bash-3.00# svcs inetd
STATE STIME FMRI... (6 Replies)
Hello. I'm new here and i'm new to slack (concept) as well. I made a connection for pppoe with pppoe-setup, bringed up eth0 with ifconfig but when i try pppoe-connect i get "Cannot determine ethernet address for proxy ARP" and with pppoe-start i get "child pppd process terminated". How can i make... (0 Replies)
Experts,
How to list a file using ^ character, for all files started with character a. (os= hp-ux )
# ls -l
-rw------- 1 useradm users 0 Mar 26 14:30 abc
-rw------- 1 useradm users 0 Mar 26 14:30 def
-rw------- 1 useradm users 0 Mar 26... (7 Replies)
Not sure if this should be in the Programming forum so placed here for safety...
I used to really love Python, but as it has evolved from V1.4.0, (for the classic AMIGA in my case), to its present V3.4.? incarnation has it become less user friendly for newbie and amateur coders?
I have... (6 Replies)
Discussion started by: wisecracker
6 Replies
LEARN ABOUT ULTRIX
color
plot(3x)plot(3x)Name
openpl, erase, label, line, circle, arc, move, cont, point, linemod, space, closepl, box, color, dot - graphics interface
Syntax
openpl()
erase()
label(s)
char s[];
line(x1, y1, x2, y2)
circle(x, y, r)
arc(x, y, x0, y0, x1, y1)
move(x, y)
cont(x, y)
point(x, y)
linemod(s)
char s[];
space(x0, y0, x1, y1)
closepl()
box(x0, x1, y0, y1)
color(c)
dot()
Description
These subroutines generate graphic output in a device-independent manner. See for a description of their effect. The subroutine precedes
the other subroutines as it opens the device for writing. The subroutine flushes the output. The and routines are used by the lvp16 and
hp7475a plotters only.
String arguments to and are null-terminated and do not contain newlines.
Many of these functions have additional options for different output devices. They are accessed by the options as follows:
-lplot device-independent graphics stream on standard output for filters
-lplotaed AED 512 color graphics terminal
-lplotbg BBN bitgraph graphics terminal
-lplotdumb dumb terminals without cursor addressing or line printers
-lplotgigi gigi graphics terminal
-lplotgrn grn files
-lplot2648 HP 2648 graphics terminal
-lplot7221 HP 7221 graphics terminal
-lplotimagen Imagen laser printer (default 240 DPI resolution)
-l300 GSI 300 terminal
-l300s GSI 300S terminal
-l450 DASI 450 terminal
-l4013 Tektronix 4013 terminal
-l4014 Tektronix 4014 terminal
-llvp16 DEC LVP16 and HP7475A plotters
See Alsograph(1g), plot(1g), plot(5)plot(3x)