11-08-2019
Dear Eric7giants,
Thanks for posting these programming challenges.
Cross language coding and lateral thinking is really important to increase cognitive skills and technical abilities.
This User Gave Thanks to Neo For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Does anyone know how to convert this bash shell script to perl?
for i in `ls -l *pgp`
do
`usr/bin/gpg --passphrase-fd 0 $i < .sunspot`
done
Thanks! Any help would be appreciated. I'm new to Linux and perl. (4 Replies)
Discussion started by: freak
4 Replies
2. Shell Programming and Scripting
I have a perl code that runs like
Code I
sub p
{
if ($d >= $D) {return}
printf "%3s"x$d++," ";
printf "%s%s\n",$_,$h{$_}?" ** ":"";
if (!$h{$_})
{
$h{$_}=1;
map {p($_)} @{$s{$_}}
}
$d--
}
($Set,$Job,$Num,$D) = (@ARGV);
map {shift} 0..3; (8 Replies)
Discussion started by: zainravi
8 Replies
3. Shell Programming and Scripting
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using... (2 Replies)
Discussion started by: DILEEP410
2 Replies
4. Shell Programming and Scripting
Hi,
I need convert a date string to date.
For eaxmple
$last_date=6/2/2009
and I want to change the format of the above mentioned date to "Jun 2 2009 12:00AM".
Do we have any functionality or staright method to convert to the desired format? (4 Replies)
Discussion started by: siba.s.nayak
4 Replies
5. Shell Programming and Scripting
Hello All,
I want to convert .pl to .exe with all include libraries like:
WIN32/OLE.....
Please suggest me how i will proceed for this.... (7 Replies)
Discussion started by: suvenduperl
7 Replies
6. Shell Programming and Scripting
Hi Friends,
I've an exponent value like,
$val="9.57669e-05";
I want to convert this value to floating point value in PERL scripting.
I tried googling for the solution, and also asked many perl friends. Unfortunately, I didn't get answer.
Could you please help me?
Thanks in advance... (4 Replies)
Discussion started by: ganapati
4 Replies
7. UNIX for Advanced & Expert Users
Hello,
I have an AIX 5.3 system and i created a script to get the last login of users.
The script goes like this:
LAST_LOGIN=`lsuser -a time_last_login $cur_user`
TIME_LOGIN=`perl -e 'print scalar localtime("$LAST_LOGIN")'`
Actually what i do in these two lines is to set a variable... (2 Replies)
Discussion started by: omonoiatis9
2 Replies
8. Shell Programming and Scripting
Hi friends,
I'm very new to perl and got some requirement.
I've input numbers which has size of 17 characters like below:
-22500.0000000000
58750.00000000000
4944.000000000000
-900.000000000000
272.0000000000000
I need to convert these numbers from negative to positive and positive... (4 Replies)
Discussion started by: ganapati
4 Replies
9. Shell Programming and Scripting
I am working on converting shell to Perl script. In shell we have built in function
trap
Do you know alternative in Perl or actually we don't need it?
Thanks for contribution (3 Replies)
Discussion started by: digioleg54
3 Replies
10. UNIX for Beginners Questions & Answers
Hello. I'm trying to convert an awk script I wrote to perl (which I just started self-teaching). I tried the a2p command but I couldn't make sense of most of it.
Here was the awk code:
BEGIN{
FS = ","
print "NAME\tLOW\tHIGH\tAVERAGE"
a=0
}
{
if(a==0){
a+=1 (1 Reply)
Discussion started by: Eric7giants
1 Replies
LEARN ABOUT DEBIAN
scratch
scratch(1) General Commands Manual scratch(1)
NAME
Scratch - An easy to use interactive programming environment for ages 8 and up.
Description
Scratch is an easy, interactive, collaborative programming environment designed for creation of interactive stories, animations, games,
music, and art -- and sharing these on the web. Scratch is designed to help young people (ages 8 and up) develop 21st century learning
skills. As they create Scratch projects, young people learn important mathematical and computational ideas, while also gaining a deeper
understanding of the process of design. This man page contains basic information about Scratch. For additional information, see the
Scratch website at http://scratch.mit.edu.
OPTIONS
Options are set through the .scratch.ini file in the user's home directory. For instructions on how to edit this file, see
http://info.scratch.mit.edu/Network_Installation.
BUGS
Please report bugs to the package maintainer. For the most recent version of this package, see http://info.scratch.mit.edu/Linux_installer
FILES
/usr/bin/scratch - scratch startup script
/usr/lib/scratch/ - Contains Scratch.image (Squeak image containing Scratch code), and scratch.ini file
/usr/share/scratch/- Contains subdirectories with Scratch media library, sample projects, and language files.
COPYRIGHT
Scratch is Copyright (C) 2011 Massachusetts Institute of Technology and released under the GPL v2. See the LICENSE file included with the
source code. The Scratch logo, the Scratch cat, and Gobo are trademarks of MIT and may not be used in substantially modified programs based
on the Scratch source code. Scratch is developed by the Lifelong Kindergarten group at the MIT Media Lab. See http://scratch.mit.edu
scratch(1)