Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset fa5526d in mainline for uspace/srv/pci/update-ids


Ignore:
Timestamp:
2009-08-02T21:58:15Z (12 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master
Children:
dd2cfa7
Parents:
5b3cf90
Message:

Fix trigraphs warning.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/pci/update-ids

    r5b3cf90 rfa5526d  
    11#! /bin/bash
    22
    3 wget http://pciids.sourceforge.net/v2.2/pci.ids
     3wget -O pci.ids http://pciids.sourceforge.net/v2.2/pci.ids
    44
    55cat > pci_ids.h <<EOF
     
    88EOF
    99
    10 cat pci.ids | grep -v '^#.*' | grep -v '^$' | tr \" \' | sed -n 's/\(.*\)/"\1",/p' >> pci_ids.h
     10cat pci.ids | grep -v '^#.*' | grep -v '^$' | tr \" \' | \
     11    sed -n 's/\(.*\)/"\1",/p' | sed 's/?/\\?/g' >> pci_ids.h
    1112
    1213cat >> pci_ids.h <<EOF
Note: See TracChangeset for help on using the changeset viewer.