Skip to content

Instantly share code, notes, and snippets.

@koalaman
Created February 8, 2021 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koalaman/173d517751cbc3c6ec1566520c2cb92f to your computer and use it in GitHub Desktop.
Save koalaman/173d517751cbc3c6ec1566520c2cb92f to your computer and use it in GitHub Desktop.
vidar@hotpocket2u ~/travistest $ cabal new-sdist -o - | file -
/dev/stdin: data
vidar@hotpocket2u ~/travistest $ cabal new-sdist -o - | tar -C .. -xvzf -
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
vidar@hotpocket2u ~/travistest $ cabal new-sdist -o - | head -c 256 | hexdump -C
00000000 1f c2 8b 08 00 00 00 00 00 00 03 c3 ac c2 bd c3 |................|
00000010 bb 7a c3 9b c3 98 c2 91 2f 3a 7f c3 a3 29 56 c3 |.z....../:...)V.|
00000020 98 4e 24 2a 24 65 c3 b9 c3 96 1d c2 bb c3 a5 c2 |.N$*$e..........|
00000030 89 2c c3 93 6d c3 8d c3 88 c2 92 22 c3 8a 76 7c |.,..m......"..v||
00000040 c3 94 c3 be 5a 10 09 4a c2 88 49 c2 80 0d c2 80 |....Z..J..I.....|
00000050 c2 92 c2 99 c3 8b 7c c3 bb 41 c3 b6 79 c2 b9 c3 |......|..A..y...|
00000060 bd 24 c2 a7 7e 55 c2 b5 2e 00 49 c3 99 3d 3b 33 |.$..~U....I..=;3|
00000070 c3 b9 c3 b6 c3 99 c3 91 c2 97 c2 b4 25 60 61 5d |............%`a]|
00000080 6a c3 95 c2 aa 7b c3 95 1a 5c 27 c2 93 c3 89 c3 |j....{...\'.....|
00000090 be 75 32 c3 bc c3 94 c2 bd c3 9f c3 bb c2 b6 c2 |.u2.............|
000000a0 b7 c2 b3 c3 bd 2f 7f c3 bf c2 9f c3 bb c3 b4 c3 |...../..........|
000000b0 b3 c3 ad c3 a3 c3 87 c3 bc 2f c3 bd 34 c3 bf 5d |........./..4..]|
000000c0 c3 be 7d 67 c3 a7 c3 89 c3 a3 c2 87 c3 bf 62 1e |..}g..........b.|
000000d0 c3 bf 17 c3 8c 65 c3 a9 67 5e 56 71 41 c3 83 c3 |.....e..g^VqA...|
000000e0 bf c3 af c3 b6 c3 93 5c c3 9c c3 bf 21 3f c2 83 |.......\....!?..|
000000f0 c3 a6 c3 be 1f 1e c3 ac c3 b7 c2 8f 06 c3 bd c2 |................|
00000100
vidar@hotpocket2u ~/travistest $ cabal new-sdist
Wrote tarball sdist to
/home/vidar/travistest/dist-newstyle/sdist/ShellCheck-0.7.1.tar.gz
vidar@hotpocket2u ~/travistest $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment