It's actually mudh more general than that. Finding files using -name is
but one option (though perhaps the most common). Take a look at the
manual page for find.

--- Aylesworth Marc A Contr AFRL/IFSE <[EMAIL PROTECTED]>
wrote:

> There is a find command in linux and also a locate command that will
> find
> files of a certain anme the format is 
> 
>  
> 
>  
> 
> find <start directory> -name <name of file> -print
> 
>  
> 
> Or
> 
>  
> 
> locate <file name>
> 
>  
> 
> locate uses a database so it is faster but you have to initialize the
> database before it can be used. That command is (I believe)   locate
> -U
> 
>  
> 
> Thanks,
> 
> Marc Aylesworth
> 
>  
> 
> C3I Associates AFRL/IFSE Joint Battlespace Infosphere Team
> 
>  
> 
> 525 Brooks Rd
> 
> Rome, NY 13441-4505
> 
>  
> 
> Tel:315.330.2422
> 
> Fax:315.330.7009
> 
> Email:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
> 
>  
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Greg
> Kreis
> Sent: Thursday, March 24, 2005 6:10 PM
> To: [email protected]
> Subject: Re: [Hardhats-members] Need help debugging Fileman Search
> (DIS1.m)
> 
>  
> 
> You won't find that specific line.  It is born of logic, deeply
> buried in
> the DIS routines, that builds the line on the fly and puts it in the
> DIS
> array at run time.  So a simple error in applying George's fix, or
> possibly
> having a starting point different than the one George modified, could
> be the
> culprit and would be very tricky to spot.
> 
> You are in one of the most abstract parts of the FM forest -- did you
> see
> the Cheshire cat? ;-)  Thankfully you aren't in the scariest area... 
> few
> have come out of the DICOMP* bogs alive.....  ;-)
> 
> Kevin Toppenberg wrote: 
> 
> Well, that seems obvious enough not that you point it
> out... :-)
>  
> Now I have to see where that erroneous line comes
> from... I can't find that line in DIS1.m
>  
> I'll have to wait until I'm at my office and I can use
> the graphic 'find' function that comes with KDE.  I
> can't ever seem to get to grep to work for me to work
> as a find.
>  
> Thanks for finding that for me.
>  
> Kevin
>  
> --- "Holloway, Thomas (EDS)"
>  <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
> wrote:
>  
>   
> 
>  
> re:  GTM>W DIS(0)
> X DIS("SCR") I  $P($G(^TIU(8925,D0,13)),U,2)=73
>  
> There should only be one space between the IF and
> the $PIECE.
>  
>    tjh
>  
> -----Original Message-----
> From: [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> 
>  
>     
> 
> [mailto:[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]> ]
>   
> 
> On Behalf Of Kevin
> Toppenberg
> Sent: Thursday, March 24, 2005 11:20 AM
> To: Hardhats Sourceforge
> Subject: [Hardhats-members] Need help debugging
> Fileman Search (DIS1.m)
>  
> I have tried to puttng the code patch for Fileman
> put
> up by George Timson.  I could just use a fresh copy,
> but it would be better if I could learn the source
> of
> the error.
>  
> So I have done some studying of GT.M's debugging
> tools, and I have applied them to the drop-out I am
> getting.
>  
> I wonder if someone could look at this screen log
> and
> suggest the next step to discovering the problem:
>  
>  
> OUTPUT FROM WHAT FILE: TIU DOCUMENT//
>  
>   -A- SEARCH FOR TIU DOCUMENT FIELD: enterED BY
>   -A- CONDITION: =  EQUALS
>   -A- EQUALS NEW PERSON: kst  TOPPENBERG,KEVIN S    
> kst          PHYSICIAN
>  
>   -B- SEARCH FOR TIU DOCUMENT FIELD:
>  
> IF: A//     ENTERED BY EQUALS 73 (TOPPENBERG,KEVIN
> S)
>  
> STORE RESULTS OF SEARCH IN TEMPLATE:
>  
> SORT BY: NUMBER//
> START WITH NUMBER: FIRST//
> FIRST PRINT FIELD: .01  DOCUMENT TYPE
> THEN PRINT FIELD:
> Heading (S/C): TIU DOCUMENT SEARCH//
> DEVICE: home  TELNET
>                           <---------** Notice
> dropout
> GTM>w $ECODE
> ,Z150372458,
> GTM>w $ZSTATUS
> 150372458,SCR+1^DIO2,%GTM-E-CMD, Command expected
> but
> not found
> GTM>ZPRINT SCR+1^DIO2
>         X DIS(0) Q:'$T  G PASS:'$D(DIS(1))
>  
> GTM>W DIS(0)
> X DIS("SCR") I  $P($G(^TIU(8925,D0,13)),U,2)=73
> GTM>W DIS("SCR")
> S Y=D0 I $D(^TIU(8925,Y,0)) I 1 S TIUFPRIV=1
> GTM>        
>  
> What would be causing the dropout?
>  
> Thanks, Kevin
>  
> p.s. Here is the variable table:
>  
> GTM>zwrite
> %="SEARCH"
> A=1
> C=","
> D0=3
> DC=","
> DCC="^TIU(8925,"
> DD=1
> DE=0
> DHT=0
> DI=0
> DIJ=0
> DILCT=0
> DIO=0
> DIO("SCR")=1
> DIOSL=24
> DIPCRIT=0
> DIS(0)="X DIS(""SCR"") I 
> $P($G(^TIU(8925,D0,13)),U,2)=73"
> DIS("SCR")="S Y=D0 I $D(^TIU(8925,Y,0)) I 1 S
> TIUFPRIV=1"
> DIS0=1
> DISEARCH=1
> DISTP=0
> DISUPNO=0
> DISYS=19
> DIWL=0
> DJ=0
> DJK=1
> DN=1
> DP=8925
> DQI=4
> DT=3050324
> DTIME=3600
> DUZ=73
> DUZ(0)="@"
> DUZ(1)=""
> DUZ(2)=69
> DUZ("AG")="O"
> DUZ("AUTO")=1
> DUZ("BUF")=1
> DUZ("LANG")=1
> DX=2
> DX(0)="I DC["","" X ^UTILITY($J,1)"
> DXS="Y"
> DY(1)="S D0=$O(^TIU(8925,D0)),DN=2,DI=0 I D0'>0 S
> DN=0,D0=-1"
> DY(2)="S DN=1 D SEARCH"
> I(0)="^TIU(8925,"
> IO="/dev/pts/2"
> IO(0)="/dev/pts/2"
> IO(1,"/dev/pts/2")=""
> IO("ERROR")=""
> IO("HOME")="38^/dev/pts/2"
> IO("ZIO")="/dev/pts/2"
> IOBS="$C(8)"
> IOF="#,$C(27,91,50,74,27,91,72)"
> IOHG=""
> IOM=80
> ION="GTM-UNIX-TELNET"
> IOPAR=""
> IOS=38
> IOSL=24
> IOST="C-VT100"
> IOST(0)=9
> IOT="VTRM"
> IOUPAR=""
> IOX=0
> IOXY="W $C(27,91)_((DY+1))_$C(59)_((DX+1))_$C(72)"
> IOY=0
> J(0)=8925
> L=1
> P=""
> U="^"
> X=1
> XMDUZ=73
> XQCH="SEAR"
> XQDIC=1337
> XQJMP=0
> XQPSM="P10025"
> XQSV="1337^10025^DIUSER^FM VA
> Filename^^M^^^^^^^^^n^1^^"
> XQT="A"
> XQUSER="KEVIN S TOPPENBERG"
> XQVOL="VOL"
> XQXFLG="0^0^XUP"
> XQY=1330
> XQY0="DISEARCH^Search File
> Entries^^A^^^^^^^y^^n^1^^"
>  
> I'll post my version of DIS1.m if needed, but it
> would
> be difficult to read with wordwrapping...
>  
> Kevin
>  
>  
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com <http://mail.yahoo.com>  
>  
>  
>  
>     
> 
> -------------------------------------------------------
>   
> 
> This SF.net email is sponsored by Microsoft Mobile &
> Embedded DevCon
> 2005
> Attend MEDC 2005 May 9-12 in Vegas. Learn more about
> the latest Windows
> Embedded(r) & Windows Mobile(tm) platforms,
> applications & content.
> Register
> by 3/29 & save $300
>  
>     
> 
> http://ads.osdn.com/?ad_id=6883
> <http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click>
> &alloc_id=15149&op=click
>   
> 
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> <mailto:[email protected]> 
>  
>     
> 
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> <https://lists.sourceforge.net/lists/listinfo/hardhats-members> 
>   
> 
>  
>  
>     
> 
> -------------------------------------------------------
>   
> === message truncated ===
>  
>  
>  
>          
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> <http://smallbusiness.yahoo.com/resources/>  
>  
>  
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real
> users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595
> <http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click>
> &alloc_id=14396&op=click
> _______________________________________________
> Hardhats-members mailing list
> [email protected]
> <mailto:[email protected]> 
> https://lists.sourceforge.net/lists/listinfo/hardhats-members
> <https://lists.sourceforge.net/lists/listinfo/hardhats-members> 
>  
>   
> 


A practical man is a man who practices the errors of his forefathers. 
--Benjamin Disraeli
====
Greg Woodhouse 
[EMAIL PROTECTED] 
[EMAIL PROTECTED] 





-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Hardhats-members mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hardhats-members

Reply via email to