smap 0.3.0 → 0.3.2
raw patch · 5 files changed
+7/−7 lines, 5 files
Files
- LICENSE +1/−1
- README.md +2/−2
- smap.cabal +2/−2
- src/Smap/Commands.hs +1/−1
- src/Smap/Flags.hs +1/−1
LICENSE view
@@ -1,4 +1,4 @@-Copyright Author name here (c) 2019+Copyright William Yager (c) 2019 All rights reserved.
README.md view
@@ -120,9 +120,9 @@ Here are some examples. -We can get a list of patient last names using `cut -f 2 -d ' ' <patient file>`- #### Pick one patient from each family:++We can get a list of patient last names using `cut -f 2 -d ' ' <patient file>`. ```bash $ smap cat +<(cut -f 2 -d ' ' patients),patients
smap.cabal view
@@ -4,10 +4,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: dc720fa6c892a34f74beb6a1e1ed38ba1e526f447ab01acf0def007688bdb05e+-- hash: eebcc4a069717374c35cac6f5dcc29bc7758efd8ef0ad6413d9329cdb1964261 name: smap-version: 0.3.0+version: 0.3.2 synopsis: A command line tool for working with sets and maps description: Please see the README below or on GitHub at <https://github.com/wyager/smap> category: Text
src/Smap/Commands.hs view
@@ -72,7 +72,7 @@ -> Hdl -> Stream RIO k ByteString -> RIO ()-splitWith split kFile vFile = hout kFile . hout vFile . hoist unlinify . unlinify . separate+splitWith split kFile vFile = hout vFile . hout kFile . hoist unlinify . unlinify . separate where hout Std = BS8.stdout hout (File path) = BS8.writeFile path
src/Smap/Flags.hs view
@@ -27,7 +27,7 @@ data Descriptor (ty :: FileType) = Separate Hdl Hdl -- Keys are in the first file, values in the second (map behavior)- | Interleaved Hdl -- Keys and values are on separate lines in the same file+ | Interleaved Hdl -- Keys and values are on separate lines in the same file (map behavior) | UnKeyed Hdl -- key = value (set behavior) data Accuracy = Approximate SipKey -- Don't keep the actual value as a key, just its hash