10 More Discussions You Might Find Interesting
1. Programming
I have reviewed many examples on-line about running another process (either PERL or shell command or a program), but do not find any usefull for my needs way. (Reviewed and not useful the system(), 'back ticks', exec() and open())
I would like to run another PERL-script from first one, not... (1 Reply)
Discussion started by: alex_5161
1 Replies
2. Shell Programming and Scripting
Hi All,
I am new to Perl and got a real stupid question. We are trying to install the Date:Calc package for some calculations with dates.The security guys mentioned they won't install it as root in /usr/bin/perl but have asked us to install it in any directory and use it from there.
Here's the... (2 Replies)
Discussion started by: nua7
2 Replies
3. Shell Programming and Scripting
Hi All,
I am new to perl and just want to read the text file and write back it into another file with some modification.
Here is my requirement:
input file:
USB_OTG_PATH top.usb_top.otg_top
USB_HSIC_PATH top.usb_top.hsic_top
.. (All starts with USB_)
...
START_PATH USB_OTG_PATH.interrupt... (2 Replies)
Discussion started by: surisingh
2 Replies
4. Shell Programming and Scripting
Playing with an until loop as follows:
my $input;
until ($input eq "quit") {
print "Please enter something:";
$input = <STDIN>;
chomp $input;
if ($input eq "dog") {
print "cat" ;
}
else {
print "Please re-enter";
}
}
Something simple like this...
I want to prompt the user to... (3 Replies)
Discussion started by: yesokay
3 Replies
5. Shell Programming and Scripting
Hi everyone
I am not even a novice at Perl scripting .. but had to edit one the other day. The only way I can get it to run is by prefixing 'perl' before running it - ie # perl scriptname
I am running AIX.
Any ideas why i have to do that ?
Thanks! (2 Replies)
Discussion started by: serm
2 Replies
6. Shell Programming and Scripting
If I use 2 system commands in a script, will one finish before the next one starts? or will it start the first and the second at the same time?
i.e.
system("ps | grep rminer");
system("ls -al | grep 431"); (1 Reply)
Discussion started by: BG_JrAdmin
1 Replies
7. Shell Programming and Scripting
When i run my perl/tk script, a perl window pops up behind the GUI window,, can this be hidden????
Also, can the Icon be changed, the Tk icon in every window??? (1 Reply)
Discussion started by: perleo
1 Replies
8. Shell Programming and Scripting
Where can i find solid information about programming in Perl?
Thank you in advance!!!:) (5 Replies)
Discussion started by: SolidSnake
5 Replies
9. Shell Programming and Scripting
Could someone tell me what is wrong with these PERL statements
it is always setting the $status2 to the number inside of the brackets......why????????
if (/^Status:/)
{
$stat = $Fld;
print "\$stat is $stat\n";
}
the above is where i'm searching for a string... (1 Reply)
Discussion started by: frank
1 Replies
10. Shell Programming and Scripting
Can anyone tell me if the copy command in PERL has the same functionality as in KSH shell in UNIX or does it actually move the file ??
$cp_stat=system("cp $ENV{OLAMEBSDIR}/data/olam.ddabal$type $ENV{OLAMDIR}/balance/data/olam.ddabal$type.$HeaderDate"); (1 Reply)
Discussion started by: frank
1 Replies
PY3COMPILE(1) PY3COMPILE(1)
NAME
py3compile - byte compile Python 3 source files
SYNOPSIS
py3compile [-V [X.Y][-][A.B]] DIR_OR_FILE [-X REGEXPR]
pycompile -p PACKAGE
DESCRIPTION
Wrapper around Python standard library's py_compile module to byte-compile Python 3 files.
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-f, --force
force rebuild of byte-code files even if timestamps are up-to-date
-O byte-compile to .pyo files
-q, --quiet
be quiet
-v, --verbose
turn verbose mode on
-p PACKAGE, --package=PACKAGE
specify Debian package name whose files should be bytecompiled
-V VRANGE
force private modules to be bytecompiled with Python 3 version from given range, regardless of the default Python 3 version in the
system. If there are no other options, bytecompile all public modules for installed Python 3 versions that match given range. VER-
SION_RANGE examples:
o 3.1 version 3.1 only,
o 3.1- version 3.1 or newer,
o 3.1-3.3 version 3.1 or 3.2,
o -4.0 all supported 3.X versions
-X REGEXPR, --exclude=REGEXPR
exclude items that match given REGEXPR. You may use this option multiple times to build up a list of things to exclude
AUTHOR
Piotr Oarowski, 2012-2013
PY3COMPILE(1)