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: | Ragnarok |
|---|---|
| Location: | Dock Sud, Bs As, Argentina |
| Users: | 137 |
| Nodes: | 10 (0 / 10) |
| Uptime: | 118:05:41 |
| Calls: | 15,363 |
| Calls today: | 1 |
| Files: | 20,059 |
| D/L today: |
5 files (323K bytes) |
| Messages: | 1,798,820 |