File: conversion

package info (click to toggle)
task 2.5.1%2Bdfsg-7
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 6,576 kB
  • sloc: cpp: 36,161; python: 11,324; perl: 8,697; ansic: 7,400; sh: 673; makefile: 23
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)