File: conversion

package info (click to toggle)
task 2.6.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,088 kB
  • sloc: cpp: 45,965; python: 12,713; sh: 785; perl: 189; makefile: 21
file content (10 lines) | stat: -rwxr-xr-x 340 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

printf "C++:     %5d\n" $(ls *.t.cpp | wc -l)
printf "Python:  %5d\n" $(head -n1 *.t | grep -a '\bpython' | wc -l)
printf "Bash:    %5d\n" $(head -n1 *.t | grep -a '\bbash' | wc -l)
echo
printf "Feature  %5d\n" $(ls feature.*.t | wc -l)
printf "Bug      %5d\n" $(ls tw-*.t | wc -l)
echo
printf "Total:   %5d\n" $(ls *.t | wc -l)