File: grepelk

package info (click to toggle)
elkcode 5.4.24-2
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid
  • size: 12,840 kB
  • sloc: f90: 48,415; fortran: 22,457; perl: 965; makefile: 384; sh: 369; python: 105; ansic: 67
file content (24 lines) | stat: -rwxr-xr-x 366 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/bash

echo
echo "main code"
grep "$@" *.f90 Makefile
echo
echo "spacegroup"
grep "$@" spacegroup/*.f90 spacegroup/Makefile
echo
echo "eos"
grep "$@" eos/*.f90 eos/Makefile
echo
echo "examples"
grep -r "$@" ../examples/*
echo
echo "tests"
grep -r "$@" ../tests/*
echo
echo "species"
grep -r "$@" ../species/*
echo
echo "utilities"
grep -r "$@" ../utilities/*