• Searching a file for text

    From Willowolf@VERT/WOLFGROT to All on Sun Jan 13 09:29:00 2002
    Is there a way to search a file for a certain word or phrase using Baja?ãã If I was to write to a file, I want to check that file for duplicateãphrases before the write is done to eliminate dupicate entries. Is thisãpossible in Baja?ãã I've read through the File I/O functions in the Baja Documentation andãfound nothing that will search a file for a specific word or phrase.ããThanks,ã\\/ãã---ã þ Synchronet þ Wolf Grotto = Las Vegas, Nevada USA = wolfgrotto.darktech.orgã
  • From Amcleod@VERT to Willowolf on Wed Jan 16 09:25:04 2002
    RE: Searching a file for textãBY: Willowolf to All on Sun Jan 13 2002 05:29 pmãã > Is there a way to search a file for a certain word or phrase using BajaããI think you will have to build your own search function out of File I/Oãprimitives.ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Digital Man@VERT to Willowolf on Wed Jan 16 18:53:03 2002
    RE: Searching a file for textãBY: Willowolf to All on Sun Jan 13 2002 05:29 pmãã > Is there a way to search a file for a certain word or phrase using Bajaã > ã > If I was to write to a file, I want to check that file for duplicateã > phrases before the write is done to eliminate dupicate entries. Is thisã > possible in Baja?ã > ã > I've read through the File I/O functions in the Baja Documentation andã > found nothing that will search a file for a specific word or phrase.ããThe only Baja function that will do this is the trashcan function, but it willãonly search text/*.can files.ãã-Robã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Amcleod@VERT to Digital Man on Wed Jan 16 22:49:02 2002
    RE: Searching a file for textãBY: Digital Man to Willowolf on Thu Jan 17 2002 02:53 amãã > > Is there a way to search a file for a certain word or phrase using Bã > ã > The only Baja function that will do this is the trashcan function, but it wiã > only search text/*.can files.ããIngenious!ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Willowolf@VERT/WOLFGROT to Digital Man on Wed Jan 16 23:00:00 2002
    [Reply to]: Searching a file for textã[Typed by]: Digital Man to Willowolf on Thu Jan 17 2002 02:53 amãã > RE: Searching a file for textã > BY: Willowolf to All on Sun Jan 13 2002 05:29 pmã > ã > > Is there a way to search a file for a certain word or phrase using Bã > >ã > > If I was to write to a file, I want to check that file for duplicateã > > phrases before the write is done to eliminate dupicate entries. Is thisã > > possible in Baja?ã > >ã > > I've read through the File I/O functions in the Baja Documentation aã > > found nothing that will search a file for a specific word or phrase.ã > ã > The only Baja function that will do this is the trashcan function, but it wiã > only search text/*.can files.ã > ã > -Robãã I'll read the docs on it, thanks.ãã\\/ãã---ã þ Synchronet þ Wolf Grotto = Las Vegas, Nevada USA = wolfgrotto.darktech.orgã