🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.sysadmin
Article #1809

need help with sh programming oddity

#1809
From: Joseph Alotta
Date: Fri, 13 Nov 1992 15:21
47 lines
1822 bytes
i have been running a shell every night for about 2 years.  when i
ugraded the OS to NeXtStep 3.0, i started having this problem.

the shell does the rsh and then does half of the next echo and then
stops.

this is the program.


#!/bin/sh -x
 
 
 

$UCB/rsh diva /usr/cleo/answer.sh   

echo '::::::::::back:on:amy::::::::::::::::'       # stops halfway here.

$UCB/rcp diva:/usr/cleo/csidata.dat /tmp/data.csi


this is the output:

 {FS=":"}{print $1}
HOURS=18
+ [ 18 -lt 4 ]
+ [ 154989 -lt 50000 ]    #last line of answer.sh
+ echo ::::::
::::::

notice the echo only does the first six characters.  i've tried other
characters and it only prints the first six.  btw, this only happens
durring cron, from a manual startup it runs right through.

is this wierd or what?


joe.
--
==============================================================
! joe alotta                                    jja@fnbc.com !                                               
!                                             (312) 732-3439 !
!                                                            !
! "The main thing is to keep the main thing the main thing." !
! Dr. George Sweeney                                         !
==============================================================
Technical Details
Message-ID: <1992Nov13.152112.3229@fnbc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!sunova!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!wupost!usc!rpi!scott.skidmore.edu!psinntp!psinntp!juliet!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.sysadmin
Path: arc1-ca.pugleaf.net!sparky!uunet!ornl!sunova!linac!pacific.mps.ohio-state.edu!zaphod.mps.ohio-state.edu!cs.utexas.edu!sdd.hp.com!wupost!usc!rpi!scott.skidmore.edu!psinntp!psinntp!juliet!news
From: jja@fnbc.com (Joseph Alotta)
Subject: need help with sh programming oddity 
Message-ID: <1992Nov13.152112.3229@fnbc.com>
Keywords: 3.0, sh, cron
Sender: news@fnbc.com
Organization: First National Bank Of Chicago, Chicago IL, USA
Date: Fri, 13 Nov 92 15:21:12 GMT
Lines: 47