File: conversion

package info (click to toggle)
task 2.5.3%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 6,956 kB
  • sloc: cpp: 43,519; python: 12,288; perl: 8,697; sh: 685; 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)