File: echo-script.sh

package info (click to toggle)
gcr 3.41.2-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,924 kB
  • sloc: ansic: 73,337; sh: 239; xml: 188; python: 174; makefile: 18
file content (12 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (18)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

count=0
output=""
while read line; do
	output="$output $line"
	count=`expr $count + 1`
	echo "$count" >&2
done
echo $output
sleep 1
exit 3