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
Data::Serializer::Convert::Bencode_XS(3pm) User Contributed Perl Documentation Data::Serializer::Convert::Bencode_XS(3pm)
NAME
Data::Serializer::Convert::Bencode_XS - Creates bridge between Data::Serializer and Convert::Bencode_XS
SYNOPSIS
use Data::Serializer::Convert::Bencode_XS;
DESCRIPTION
Module is used internally to Data::Serializer
serialize - Wrapper to normalize serializer method name
deserialize - Wrapper to normalize deserializer method name
AUTHOR
Neil Neely <neil@neely.cx>.
http://neil-neely.blogspot.com/
BUGS
Please report all bugs here:
http://rt.cpan.org/Public/Dist/Display.html?Name=Data-Serializer
COPYRIGHT AND LICENSE
Copyright (c) 2011 Neil Neely. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.2 or,
at your option, any later version of Perl 5 you may have available.
SEE ALSO
perl(1), Data::Serializer(3), Convert::Bencode_XS(3).
perl v5.12.4 2011-08-16 Data::Serializer::Convert::Bencode_XS(3pm)