Ask a Question related to UNIX Programming, Design and Development.
-
one2001boy@yahoo.com #1
Re: Which is better? C, Perl or Shell
Chacrint Charinthorn wrote:
how about C interpreter with shell programming features?> 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.
[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,
>
> Chacrintone2001boy@yahoo.com Guest
-
Is there a *nix shell variable for the path to perl?
Is there a (BA)SH/CSH/TSH/KSH variable to the Perl path? I am creating a script that uses Perl I want to be able to share over several servers. ... -
quick and dirty shell vs elegant perl
Part of the objective is to find a reliable way to discover the qlogic fiber channel card WWN and which WWN(s) it connects to. This data is then... -
Setting shell enviro through perl?
Does anyone know how to set an shell enviroment using perl? I have tried using the backticks, the system command, but they don't seem to be working.... -
Korn Shell vs. Perl
Fellow Perl Netters: At the level of the internals, IN GENERAL terms, what is the difference in how Perl operates compared with the Korn shell?... -
Using perl/shell scripts to kill processes more than x days old
Hi Folks, OS : Solaris 8 I have a question regarding killing processes on a unix server. I would like to run a cron job to kill processes run...



Reply With Quote

