Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Caliban

    Need help with FTP script

    Yes -- mget is what you want.&nbsp;&nbsp;Use:<br><br>ftp -n -v &lt;&lt; EndFTP<br>open &lt;system name&gt;<br>user &lt;user/pwd&gt;<br>ascii<br>cd sales_reports<br>prompt<br>mget Report-20000706*.csv<br>close<br>EndFTP<br>
  2. Caliban

    The sed command

    Since the first slash of the mountpoint is the first slash of the output line, a simple:<br><br>sed 's/\/;\//' <br><br>should work.
  3. Caliban

    Multi-server file promotions

    Might I suggest rdist.<br><br>Rdist can easily be set up to distribute and/or syncronize files across systems.&nbsp;&nbsp;It is easily configurable and quick to implement.
  4. Caliban

    Need Drivers for Network Card

    I don't have an 11.00 system to check on, but at 10.20 we are running a 100BT EISA card with the btlan0 driver.
  5. Caliban

    TOP

    To use the XPG4 flags on ps, all you need to do is export the UNIX95 variable. For example:<br><br>export UNIX95=1; ps -p &lt;pid&gt; -o pcpu . . .
  6. Caliban

    FTP from AIX to winnt/98 through automated processes...

    What version of windows are you running?&nbsp;&nbsp;Windows 95/98 do not have an ftp server out of the box.&nbsp;&nbsp;(They do have ftp clients.)&nbsp;&nbsp;You may need to install an ftp server on your windows machine.
  7. Caliban

    Evaluate input in a shelll program

    I would use:<br><br>NON_DIGITS=`echo $INPUT ¦ sed 's/[0-9]//g'`<br>if [ -z &quot;$NON_DIGITS&quot; ]<br>then<br>&nbsp;&nbsp;&nbsp;&nbsp;$INPUT is a number<br>else<br>&nbsp;&nbsp;&nbsp;&nbsp;$INPUT is not a number<br>fi
  8. Caliban

    Setting up Default Gateway of HPUX 11.0

    Gateways for each lan card can be defined in:<br><br>/etc/rc.config.d/netconf
  9. Caliban

    mount/cdrom

    Try:<br><br>mount -F cdfs -o cdcase /dev/dsk/cXtXdX /cdrom<br><br>If that does not wor, you will need to use pfs_mount.&nbsp;&nbsp;Make sure you have the latest pfs patch installed:<br>PHCO_15453<br><br>Then, start the apprpriate demons:<br>nohup /usr/sbin/pfs_mountd &<br>nohup /usr/sbin/pfsd...
  10. Caliban

    numa-q dynix/ptx encryption solution

    Is the problem in getting sendmail to accept the attachment or finding an encryption (for security) solution that runs on both platforms?<br><br>If the former, use uuencode.
  11. Caliban

    The sed command

    That is -- if I understand what you want.&nbsp;&nbsp;My quick test produced:<br><br># cat t<br>/* comment 1<br>comment 2 */<br>text<br>text 2 // comment3<br>// comment4<br>text 3<br>text 4 //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment4<br><br># sed -e '/^\/\*/d' -e '/\*\/$/d' -e...
  12. Caliban

    The sed command

    It is not pretty, but:<br><br>sed -e '/^\/\*/d' -e '/\*\/$/d' -e 's/\/\/[&nbsp;&nbsp;&nbsp;-z]*//' -e '/^$/d' $INFILE &gt; $OUTFILE<br><br>should work.&nbsp;&nbsp;The character in the [&nbsp;&nbsp;&nbsp;-z] test is a tab.

Part and Inventory Search

Back
Top