10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am currently using the below code and it throws an error saying badly placed ()'s. I am not sure if this right way to convert html to PDF, please help..I am using C-shell script
system ("../html2doc pdf 1000 portrait html$prnfile.html $prnfile.pdf ")
print "Content-type:application/pdf... (7 Replies)
Discussion started by: lakers646
7 Replies
2. Shell Programming and Scripting
Hi All
Is there anyone who have the script to covnert a sh sell script to csh and can share with me?
Thanks a lot!
Nick:b: (3 Replies)
Discussion started by: nicolast0604
3 Replies
3. Shell Programming and Scripting
Dear all
I am installing some eda software using script. My OS is ubuntu 10.04 and the eda software writing in csh. Since ubuntu reading script file in sh writting. I need someone can help me to convert some definition in script from csh to sh. Below is part of script
set archinfo =... (3 Replies)
Discussion started by: tompham
3 Replies
4. Shell Programming and Scripting
Hi all,
Not sure if this should be in the programming forum, but I believe it will get more response under the Shell Programming and Scripting FORUM.
Am trying to write a customized df script in Perl and need some help with regards to using arrays and file handlers.
At the moment am... (3 Replies)
Discussion started by: newbie_01
3 Replies
5. Shell Programming and Scripting
Hi All,
Could any one of you give me a hand to convert the following line of codes from .sh to .csh please ?
proc_id=`fuser /tmp/test`
if
then
echo "File is not being used by any thing"
fi
if
then
echo "File is being used... please wait"
sleep 1
fi
Regards.
---------- Post... (1 Reply)
Discussion started by: sraj142
1 Replies
6. Shell Programming and Scripting
Hi,
Can anyone give me a script to convert csh to bash? or any key points which can help me to do so as i am new to it. (3 Replies)
Discussion started by: vineet.dhingra
3 Replies
7. UNIX for Dummies Questions & Answers
Hi Everyone,
I have a body of code that I'd like to know how to convert to a csh file.
In Unix, under a directory, I wish to ls into each of its subdirectories:
In Unix prompt I type
foreach i(*)
foreach? ls $i
foreach? end
however, when I try to store this body of code in .csh:
... (2 Replies)
Discussion started by: tommms
2 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to put the csh variable into a perl.
In the below case, i am trying to put the csh variable "var" into my perl code. I tried to use '"$var"' but i don;t think it works.
Can anybody help me pls?
#!/bin/csh
set var = `echo "xxx"`
perl myperlcode.pl file
... (9 Replies)
Discussion started by: Raynon
9 Replies
9. Shell Programming and Scripting
In csh I can do this
echo `ps -ef | grep root | awk '{print $2}'`
how would I get the same results using perl.
Thanks (6 Replies)
Discussion started by: bdsffl
6 Replies
10. Shell Programming and Scripting
i have this method in csh that check for file exist.
#check that file exists
if ( ! -e $6$5 ) then
echo $6$5 Not Found
exit 8
endif
however i wanted in to be in just sh. so i change the code to:
if ; then
echo $6$5 Not Found
exit 8
fi
I get error... (1 Reply)
Discussion started by: forevercalz
1 Replies