File: update-asc-num

package info (click to toggle)
diskscan 0.21-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,656 kB
  • sloc: ansic: 11,136; python: 338; xml: 138; sh: 41; makefile: 34
file content (11 lines) | stat: -rwxr-xr-x 261 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/sh

set -e
if [ -d structs ]; then
        cd structs
fi
curl 'http://www.t10.org/lists/asc-num.txt' > asc-num.txt.tmp
mv asc-num.txt.tmp asc-num.txt
dos2unix asc-num.txt
./asc-num-to-list < asc-num.txt > asc-num.h
mv asc-num.h ../include/asc_num_list.h