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


Ignore:
Timestamp:
2008-05-30T14:23:29Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6387c18
Parents:
960f8476
Message:

cleanup scripts

File:
1 edited

Legend:

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

    r960f8476 rafb1e35  
    33wget http://pciids.sourceforge.net/v2.2/pci.ids
    44
    5 cat >pci_ids.h <<EOF
     5cat > pci_ids.h <<EOF
    66/* DO NOT EDIT, THIS FILE IS AUTOMATICALLY GENERATED */
    77char *pci_ids[] = {
    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 \" \' | sed -n 's/\(.*\)/"\1",/p' >> pci_ids.h
    1111
    12 cat >>pci_ids.h <<EOF
     12cat >> pci_ids.h <<EOF
    1313""
    1414};
    1515EOF
    16 
Note: See TracChangeset for help on using the changeset viewer.