aboutsummaryrefslogtreecommitdiff
path: root/sys/tools/usbdevs2h.awk
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* usbdevs2h: Ignore First Line and stop generating $FreeBSD$Warner Losh2023-08-161-5/+0
| | | | | | | | Just ignore the first line of the usbdevs file. And stop recording what the usbdevs* files were generated from. It's said '$FreeBSD$' for years now... Sponsored by: Netflix
* Avoid using \$. It's an unknown escape sequence. Some awks warn aboutWarner Losh2018-01-281-8/+0
| | | | | | | | that. Instead, simply remove the sequence entirely because we never commit the generated files. Notes: svn path=/head/; revision=328507
* sys: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326272
* /* -> /*- for license, minor formatting changesWarner Losh2005-01-071-0/+1
| | | | Notes: svn path=/head/; revision=139825
* dheader and hheader were the same function, really, so rename one ofWarner Losh2004-12-311-35/+13
| | | | | | | them to header, kill the other and use both with a different arg... Notes: svn path=/head/; revision=139518
* Use functions to make the program clearer.Warner Losh2004-12-311-125/+144
| | | | Notes: svn path=/head/; revision=139513
* Allow -d and -h as command line flags. These are used to generateWarner Losh2004-12-301-126/+163
| | | | | | | | only the .h or _data.h files respectively. Restructure code to allow for this. Notes: svn path=/head/; revision=139458
* Correct $FreeBSD$ style.David E. O'Brien2004-04-161-2/+2
| | | | Notes: svn path=/head/; revision=128302
* constifyJosef Karthauser2002-04-011-2/+2
| | | | Notes: svn path=/head/; revision=93569
* Add usbdevs and friends.Nick Hibma1999-11-181-0/+236
Notes: svn path=/head/; revision=53383