Chacrint Charinthorn wrote:
> Dear All,
>
> I am about to write a program to detect an existence of files and
> remove the associated records from the database. Which programming
> provide the best solutions between C, perl and shell.
how about C interpreter with shell programming features?

[url]http://www.softintegration.com/docs/ch/shell/[/url]

>
>
> -- Example from Shell --
>
> prog"$HOME/bin/prog"
> file="$HOME/log/file"
> record=`echo $file | cut -b 31-34`
>
> if [ -f $file ] ; then
> echo "delete from table where record=$record;" | $prog
> else
> echo "record not found"
> fi
>
> -- end --
>
> Thanks in advance,
>
> Chacrint