https://github.com/deepredsky/improv
https://github.com/deepredsky/improv
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/deepredsky/improv
- Owner: deepredsky
- License: bsd-3-clause
- Created: 2017-07-14T20:52:30.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-22T16:03:58.000Z (almost 9 years ago)
- Last Synced: 2025-02-18T04:53:32.568Z (over 1 year ago)
- Language: Haskell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
The given set of inputfiles contains lines in the format [id]:[content]. The 'id' is an int64 and
the 'content' is a string in UTF-8 format with embedded newlines escaped as '\n'. Eg.
```
123:really long line 1
456:really long line 2
```
The lenght of the id varies but the id and content is always separated by a colon ':'. The id
is always the first item on the lines in the files and is always a number. The text content
runs until next linebreak.
## Example
```
$ improv "line \d+" file1 file2
> 123
> 456
```