Skip to content
Snippets Groups Projects
  1. Nov 29, 2016
  2. Sep 30, 2016
  3. Sep 01, 2011
  4. Aug 27, 2011
  5. Sep 20, 2010
  6. Aug 02, 2010
  7. Jun 11, 2009
  8. May 17, 2008
    • Andrew Dunstan's avatar
      Add $PostgreSQL$ markers to a lot of files that were missing them. · 53972b46
      Andrew Dunstan authored
      This particular batch was just for *.c and *.h file.
      
      The changes were made with the following 2 commands:
      
      find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
      
      find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o  \( -name '*.[ch]'  \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
      53972b46
  9. Jul 10, 2006
  10. Aug 29, 2004
  11. May 28, 2004
  12. Mar 30, 2004
  13. Aug 04, 2003
  14. Jul 27, 2003
  15. Feb 19, 2003
Loading