This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Mark, >Date: Tue, 18 Mar 2003 08:13:52 -0700 >From: Unidata Support <address@hidden> >Organization: UCAR/Unidata >To: address@hidden >Subject: 20030317: ldm 6 and freeBSD The above message contained the following: > >From: "Mark J. Laufersweiler" <address@hidden> > >Organization: OU > >Keywords: 200303180532.h2I5WiB2010236 LDM-6.0.2 ldmprods > > Hi Mark, > > >Just a note, ldmprods does not work without a fix for freeBSD: > > > >%ldmprods > >ls: illegal option -- x > >usage: ls [-ABCFGHLPRTWabcdfghiklnoqrstu1] [file ...] > >No *.stats files found, check logs directory for files. > >% > >%uname -a > >FreeBSD stokes1.metr.ou.edu 4.6.2-RELEASE FreeBSD 4.6.2-RELEASE #0: > >Wed Aug 14 21:23:26 GMT 2002 > >address@hidden:/usr/src/sys/compile/GENERIC i386 > >% > > > > > >I munged ldmprods at lines where ls -rx is used and removed the x > >switch. Seems that FreeBSD does not have the switch. > > OK, This is being passed along to Steve Emmerson for review. I've replaced the "-rx" option with "-r1". This will be in release 6.0.3. Interestingly, our FreeBSD 4.7 system supports the "-x" option. > >Also I removed the "" around clear in system(clear) Why? > >and I also added /usr/bin to the exported path list. Odd. It seems to already be in the PATH environment variable of that script. Regards, Steve Emmerson <http://www.unidata.ucar.edu>