File: test.sh

package info (click to toggle)
newsflash 0.99-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 272 kB
  • ctags: 114
  • sloc: ansic: 768; sh: 186; makefile: 66
file content (10 lines) | stat: -rw-r--r-- 137 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
CONFIG_PATH="/etc/news/newsflash/"

if [ -f $CONFIGPATHlist1 ]
then
	for i in $CONFIG_PATH"list[0-9]*"
	do
		echo $i
	done
fi