Skip to content
  • Jim Meyering's avatar
    fix some common typos · a31f0531
    Jim Meyering authored
    These were identified using: http://github.com/lyda/misspell-check
    
    
    and run like this to create a bourne shell script using GNU sed's
    -i option:
    
    git ls-files|grep -vF .bin | misspellings -f - |grep -v '^ERROR:' |perl \
    -pe 's/^(.*?)\[(\d+)\]: (\w+) -> "(.*?)"$/sed -i '\''${2}s!$3!$4!'\'' $1/'
    
    Manually eliding the FP, "rela->real" and resolving "addres" to
    address (not "adders") we get this:
    
      sed -i '450s!thru!through!' Changelog
      sed -i '260s!neccessary!necessary!' coroutine-sigaltstack.c
      sed -i '54s!miniscule!minuscule!' disas.c
      sed -i '1094s!thru!through!' hw/usb/hcd-ehci.c
      sed -i '1095s!thru!through!' hw/usb/hcd-ehci.c
      sed -i '21s!unecessary!unnecessary!' qapi-schema-guest.json
      sed -i '307s!explictly!explicitly!' qemu-ga.c
      sed -i '490s!preceeding!preceding!' qga/commands-posix.c
      sed -i '792s!addres!address!' qga/commands-posix.c
      sed -i '6s!beeing!being!' tests/tcg/test-mmap.c
    
    Also, manually fix "arithmentic", spotted by Peter Maydell:
    
      sed -i 's!arithmentic!arithmetic!' coroutine-sigaltstack.c
    
    Signed-off-by: default avatarJim Meyering <meyering@redhat.com>
    Reviewed-by: default avatarPeter Maydell <peter.maydell@linaro.org>
    a31f0531
To find the state of this project's repository at the time of any of these versions, check out the tags.