Skip to content

Commit 7e2a10c

Browse files
authored
Merge pull request #691 from Harshad112/patch-1
Improved README.md
2 parents dd90439 + d02b70f commit 7e2a10c

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

README.md

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ For details see [usage.md](doc/usage.md).
1010

1111
### Background
1212

13-
fq is inspired by the well known jq tool and language and allows you to work with binary formats the same way you would using jq. In addition it can present data like a hex viewer, transform, slice and concatenate binary data. It also supports nested formats and has an interactive REPL with auto-completion.
13+
fq is inspired by the well known jq tool and language that allows you to work with binary formats the same way you would using jq. In addition it can present data like a hex viewer, transform, slice and concatenate binary data. It also supports nested formats and has an interactive REPL with auto-completion.
1414

15-
It was originally designed to query, inspect and debug media codecs and containers like mp4, flac, mp3, jpeg. But has since then been extended to support a variety of formats like executables, packet captures (with TCP reassembly) and serialization formats like JSON, YAML, XML, ASN1 BER, Avro, CBOR, protobuf. In addition it also has functions to work with URL:s, convert to/from hex, number bases, search for things etc.
15+
It was originally designed to query, inspect and debug media codecs and containers like mp4, flac, mp3, jpeg. But since then it has been extended to support a variety of formats like executables, packet captures (with TCP reassembly) and serialization formats like JSON, YAML, XML, ASN1 BER, Avro, CBOR, protobuf. In addition it also has functions to work with URLs, convert to/from hex, number bases, search for things etc.
1616

1717
In summary it aims to be jq, hexdump, dd and gdb for files combined into one.
1818

19-
**NOTE:** fq is still early in development so things might change, be broken or do not make sense. That also means that there is a great opportunity to help out!
19+
**NOTE :** fq is still early in development so things might change, be broken or do not make sense. That also means that there is a great opportunity to help out!
2020

2121
### Goals
2222

@@ -155,7 +155,7 @@ yaml,
155155

156156
[#]: sh-end
157157

158-
It can also work with some common text formats like URL:s, hex, base64, PEM etc and for some serialization formats like XML, YAML etc it can transform both from and to jq values.
158+
It can also work with some common text formats like URLs, hex, base64, PEM etc and for some serialization formats like XML, YAML, etc. it can transform both from and to jq values.
159159

160160
For details see [formats.md](doc/formats.md) and [usage.md](doc/usage.md).
161161

@@ -169,7 +169,7 @@ For details see [formats.md](doc/formats.md) and [usage.md](doc/usage.md).
169169

170170
Use one of the methods listed below or download a pre-built [release](https://github.com/wader/fq/releases) for macOS, Linux or Windows. Unarchive it and move the executable to `PATH` etc.
171171

172-
On macOS if you don't install using one of the method below you might have to manually allow the binary to run. This can be done by trying to run the binary, ignore the warning and then go into security preference and allow it. Same can be done with this command:
172+
On macOS if you don't install using one of the method below then you might have to manually allow the binary to run. This can be done by trying to run the binary, ignore the warning and then go into security preference and allow it. Same can be done with this command:
173173

174174
```sh
175175
xattr -d com.apple.quarantine fq && spctl --add fq
@@ -231,9 +231,9 @@ apk add -X http://dl-cdn.alpinelinux.org/alpine/edge/testing fq
231231

232232
### Build from source
233233

234-
Make sure you have [go](https://go.dev) 1.18 or later installed.
234+
Make sure you have version of [go](https://go.dev) 1.18 or later installed.
235235

236-
To install directly from git repository (no clone needed) do:
236+
To install directly from git repository (no clone needed) :
237237
```sh
238238
# build and install latest release
239239
go install github.com/wader/fq@latest
@@ -276,24 +276,24 @@ for inventing the [jq](https://github.com/stedolan/jq) language.
276276

277277
#### Tools
278278

279-
- [HexFiend](https://github.com/HexFiend/HexFiend) Hex editor for macOS with format template support.
280-
- [binspector](https://github.com/binspector/binspector) Binary format analysis tool with query language and REPL.
281-
- [kaitai](https://kaitai.io) Declarative binary format parsing.
282-
- [Wireshark](https://www.wireshark.org) Decodes network traffic (tip: `tshark -T json`).
283-
- [MediaInfo](https://mediaarea.net/en/MediaInfo) Analyze media files (tip `mediainfo --Output=JSON` and `mediainfo --Details=1`).
284-
- [GNU poke](https://www.jemarch.net/poke) The extensible editor for structured binary data.
285-
- [ffmpeg/ffprobe](https://ffmpeg.org) Powerful media libraries and tools.
286-
- [hexdump](https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/text-utils/hexdump.c) Hex viewer tool.
287-
- [hex](https://git.janouch.name/p/hex) Interactive hex viewer with format support via lua.
288-
- [hachoir](https://github.com/vstinner/hachoir) General python library for working binary data.
289-
- [scapy](https://scapy.net) Decode/Encode formats, focus on network protocols.
279+
- [HexFiend](https://github.com/HexFiend/HexFiend) - Hex editor for macOS with format template support.
280+
- [binspector](https://github.com/binspector/binspector) - Binary format analysis tool with query language and REPL.
281+
- [kaitai](https://kaitai.io) - Declarative binary format parsing.
282+
- [Wireshark](https://www.wireshark.org) - Decodes network traffic (tip: `tshark -T json`).
283+
- [MediaInfo](https://mediaarea.net/en/MediaInfo) - Analyze media files (tip `mediainfo --Output=JSON` and `mediainfo --Details=1`).
284+
- [GNU poke](https://www.jemarch.net/poke) - The extensible editor for structured binary data.
285+
- [ffmpeg/ffprobe](https://ffmpeg.org) - Powerful media libraries and tools.
286+
- [hexdump](https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/text-utils/hexdump.c) - Hex viewer tool.
287+
- [hex](https://git.janouch.name/p/hex) - Interactive hex viewer with format support via lua.
288+
- [hachoir](https://github.com/vstinner/hachoir) - General python library for working binary data.
289+
- [scapy](https://scapy.net) - Decode/Encode formats, focus on network protocols.
290290

291291
#### Projects and Standards
292292

293-
- [Let's Solve the File Format Problem](http://fileformats.archiveteam.org)
294-
- [PRONOM](https://www.nationalarchives.gov.uk/PRONOM/) file format registry
295-
- [Sustainability of Digital Formats](https://www.loc.gov/preservation/digital/formats/) at Library of Congress
296-
- [Data Format Description Language](https://en.wikipedia.org/wiki/Data_Format_Description_Language)
293+
- [Let's Solve the File Format Problem](http://fileformats.archiveteam.org).
294+
- [PRONOM](https://www.nationalarchives.gov.uk/PRONOM/) file format registry.
295+
- [Sustainability of Digital Formats](https://www.loc.gov/preservation/digital/formats/) at Library of Congress.
296+
- [Data Format Description Language](https://en.wikipedia.org/wiki/Data_Format_Description_Language).
297297

298298
## License
299299

@@ -303,16 +303,16 @@ See the [LICENSE](LICENSE) file for license details.
303303

304304
Licenses of direct dependencies:
305305

306-
- Forked version of gojq https://github.com/itchyny/gojq/blob/main/LICENSE (MIT)
307-
- Forked version of readline https://github.com/chzyer/readline/blob/master/LICENSE (MIT)
308-
- github.com/BurntSushi/toml https://github.com/BurntSushi/toml/blob/master/COPYING (MIT)
309-
- github.com/creasty/defaults https://github.com/creasty/defaults/blob/master/LICENSE (MIT)
310-
- github.com/gomarkdown/markdown https://github.com/gomarkdown/markdown/blob/master/LICENSE.txt (BSD)
311-
- github.com/gopacket/gopacket https://github.com/gopacket/gopacket/blob/master/LICENSE (BSD)
312-
- github.com/mitchellh/copystructure https://github.com/mitchellh/copystructure/blob/master/LICENSE (MIT)
313-
- github.com/mitchellh/mapstructure https://github.com/mitchellh/mapstructure/blob/master/LICENSE (MIT)
314-
- github.com/pmezard/go-difflib https://github.com/pmezard/go-difflib/blob/master/LICENSE (BSD)
315-
- golang/snappy https://github.com/golang/snappy/blob/master/LICENSE (BSD)
316-
- golang/x/* https://github.com/golang/text/blob/master/LICENSE (BSD)
317-
- gopkg.in/yaml.v3 https://github.com/go-yaml/yaml/blob/v3/LICENSE (MIT)
318-
- Parts of go crypto/tls and github.com/zmap/zcrypto https://github.com/zmap/zcrypto/blob/master/LICENSE (Apache)
306+
- Forked version of gojq - https://github.com/itchyny/gojq/blob/main/LICENSE (MIT)
307+
- Forked version of readline - https://github.com/chzyer/readline/blob/master/LICENSE (MIT)
308+
- github.com/BurntSushi/toml - https://github.com/BurntSushi/toml/blob/master/COPYING (MIT)
309+
- github.com/creasty/defaults - https://github.com/creasty/defaults/blob/master/LICENSE (MIT)
310+
- github.com/gomarkdown/markdown - https://github.com/gomarkdown/markdown/blob/master/LICENSE.txt (BSD)
311+
- github.com/gopacket/gopacket - https://github.com/gopacket/gopacket/blob/master/LICENSE (BSD)
312+
- github.com/mitchellh/copystructure - https://github.com/mitchellh/copystructure/blob/master/LICENSE (MIT)
313+
- github.com/mitchellh/mapstructure - https://github.com/mitchellh/mapstructure/blob/master/LICENSE (MIT)
314+
- github.com/pmezard/go-difflib - https://github.com/pmezard/go-difflib/blob/master/LICENSE (BSD)
315+
- golang/snappy - https://github.com/golang/snappy/blob/master/LICENSE (BSD)
316+
- golang/x/* - https://github.com/golang/text/blob/master/LICENSE (BSD)
317+
- gopkg.in/yaml.v3 - https://github.com/go-yaml/yaml/blob/v3/LICENSE (MIT)
318+
- Parts of go crypto/tls and github.com/zmap/zcrypto - https://github.com/zmap/zcrypto/blob/master/LICENSE (Apache)

0 commit comments

Comments
 (0)