Is there a way to search a file for a certain word or phrase using Baja
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.
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.
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
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 17:29:45 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
518 files (245M bytes) |
| Messages: | 70,795 |
| Posted today: | 26 |