File: conversion

package info (click to toggle)
task 3.4.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 7,332 kB
  • sloc: cpp: 42,567; python: 12,689; sh: 775; perl: 189; makefile: 35
file content (10 lines) | stat: -rwxr-xr-x 372 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

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