File: findcode_sources.sh

package info (click to toggle)
hipify 7.0.2%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,336 kB
  • sloc: cpp: 31,275; perl: 17,300; sh: 167; ruby: 23; python: 10; makefile: 9; ansic: 4
file content (8 lines) | stat: -rwxr-xr-x 299 bytes parent folder | download
1
2
3
4
5
6
7
8
#!/bin/bash

SEARCH_DIRS=$@

find $SEARCH_DIRS -name '*.cu' -and -not -name '*.cuh'
find $SEARCH_DIRS -name '*.CU' -and -not -name '*.CUH'
find $SEARCH_DIRS -name '*.cpp' -o -name '*.cxx' -o -name '*.c' -o -name '*.cc'
find $SEARCH_DIRS -name '*.CPP' -o -name '*.CXX' -o -name '*.C' -o -name '*.CC'