Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/name/dig
Search individual file for specified string
https://github.com/name/dig
Last synced: about 18 hours ago
JSON representation
Search individual file for specified string
- Host: GitHub
- URL: https://github.com/name/dig
- Owner: name
- Created: 2021-12-29T06:12:43.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-29T08:44:34.000Z (about 3 years ago)
- Last Synced: 2024-11-12T13:11:48.004Z (2 months ago)
- Language: Rust
- Homepage: https://github.com/name
- Size: 8.79 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dig
## Overview
Dig is a command-line tool to search files for a provided string and output the found results.
## Usage
Search strings are not case-sensitive.
```powershell
.\dig.exe "C:\Path\To\File\Here.txt" "StringToSearch"
```Example Output:
```
.\dig.exe A:\name\dig\files\example_logfile.log "08:51:06 TRACE"
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :...read_physical_netif: Home list entries returned = 7
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :..entity_initialize: interface 129.1.1.1, entity for rsvp allocated and initialized
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :..entity_initialize: interface 9.37.65.139, entity for rsvp allocated and
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :..entity_initialize: interface 9.67.100.1, entity for rsvp allocated and initialized
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :..entity_initialize: interface 9.67.101.1, entity for rsvp allocated and initialized
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :..entity_initialize: interface 9.67.116.98, entity for rsvp allocated and
[A:\name\dig\files\example_logfile.log] 03/22 08:51:06 TRACE :..entity_initialize: interface 9.67.117.98, entity for rsvp allocated and
```