File: test_gzip_byline.sh

package info (click to toggle)
libslow5lib 1.3.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,280 kB
  • sloc: ansic: 13,123; python: 1,353; sh: 600; makefile: 98; cpp: 40
file content (6 lines) | stat: -rwxr-xr-x 125 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/bin/bash

while IFS="" read -r line || [ -n "$line" ]; do
    gzip <(echo "$line") -c >> "$1"_line.gz
done < "$1"
echo ""