<br>Hmmm, I used to run ftp on vaxen....<br><br>But I would guess that the program you are looking for is kermit. It provides much the same functionality as an ftp server, but runs a single session, rather than being a general daemon.
You can simplify AndyBo's program a bit at the expense of debuggability:<br><FONT FACE=monospace><br>while (<INPUT>) {<br> push(@File_Array, $_);<br>}<br></font><br>collapses to<br><FONT FACE=monospace><br>@File_Array = <INPUT>;<br></font><br>I use this...
HP-UX is one of the world's leading flavors of unix. Unlike some flavors of unix (for example, aix) HP-UX generally uses standard commands for system maintenance, so general unix training is useful to sysadmins on an HP-UX system. The advantage to unix over other operating systems is that unix...
<br>If I understand correctly you are running an external command "xcom62 -cf" in your perl program. You need to capture the output from this command, and put it in a variable.<br><br>The trick is to use backtics, like in shell scripting. If you want everything in one string then...
<br>For general reference you can't beat the O'Reilly series, but for korn shell usage and scripting, my favorite is<br><br>KornShell Programming Tutorial<br>by Barry Rosenberg<br>ISBN 0-2-1-56324-X<br>Addison-Wesley Publishing Company<br><br>
from 'man rcs'<br><br><br>-u[rev]<br> Unlock the revision with number rev. If a branch is<br> given, unlock the latest revision on that branch. If<br> rev is omitted, remove...
Well, I started at <A HREF="http://www.sun.com" TARGET="_new">http://www.sun.com</A>, and browsed a bit until I found a list of OS's they sell currently. It looks like Solaris 8 is the highest version now in production.
Mike,<br><br>You are on the right track. Scalar vs array context is everything in this instance. When localtime() is feeding its output to an array it sends a list of numbers. One of those numbers is the number of years since 1900. (Thus the current year is "$timeVars[5] + 1900".) When...
<br>
Is there a one line way to slurp a file into an array?<br>
<br>
Instead of <br>
open(FILE, "file") ¦¦ warn "couldn't open file";<br>
@array = <FILE>;<br>
close(FILE);<br>
<br>
I would like to <br>
@array = <"file">;<br>
<br>
I know, it's just a...
<br>
In ksh you _can_ use exec to open a new file for output, but you don't have to. I suspect that bash is similar. The syntax you used starts a new process, and exits the old one so it can never loop. Try again without the exec.<br>
<br>
somecommand >somefile 2>&1 # put stdout and stderr...
lp is just a print spooler. Not a print queue.<br>
<br>
There are several commercial products that provide genuine print queues, instead of just print spoolers for unix. I evaluated lpplus <A HREF="http://www.plustechnologies.com" TARGET="_new">http://www.plustechnologies.com</A> and quite...
<br>
I see people bypass this most often by providing 3 fields on the form, something like "( ___ ) ___ - ____" that way no parsing is required. If you really want to just use one field you might try<br>
/(\d{3,3})\D*(\d{3,3})\D*(\d{4,4})/<br>
<br>
Have fun!<br>
Kai.<br>
We ended up just writing a sudo script to let Operations cancel print jobs. We also made the "copy" parameter the default, so it copies the file to the spool instead of just a pointer to the file. <br>
<br>
That handled the two most critical issues, immediate cancels and multiple...
It's because I tried to separate the for components with commas instead of semicolons. perl parsed it to look like<br>
for (init1, init2, init3;;)<br>
<br>
duh!<br>
I am looking for an honest to goodness managable print queue for unix. The lpsched spooler is not sufficiently reliable for some of our applications and I have to jump through hoops to let anyone besides root manage it.<br>
<br>
I really like LP Plus by Plus Technologies (<A...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.