File: file_process.sh

package info (click to toggle)
combblas 2.0.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 190,488 kB
  • sloc: cpp: 55,918; ansic: 25,134; sh: 3,691; makefile: 548; csh: 66; python: 49; perl: 21
file content (8 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#pass foldername as argument
search_dir=$1
for entry in "$search_dir"/*
do
  echo "$entry"
    sed -n '/SpMV time:/{p;}' $entry >> $entry.txt
done