9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Experts,
I am checking how to get day in Perl.
If it is “Monday” I need to process…below is the pseudo code.
Can you please prove the code for below condition.
if (today=="Monday" )
{
while (current_time LESS THAN 9:01 AM)
... (1 Reply)
Discussion started by: ajaypatil_am
1 Replies
2. Shell Programming and Scripting
Hi
Do you know how can I get all check in and check out comments for a period of time with Surround SCM CLI
---------- Post updated at 02:00 AM ---------- Previous update was at 01:56 AM ----------
Do you have NAnt tasks that allow us to access Evolution from an NAnt build script? (0 Replies)
Discussion started by: saku
0 Replies
3. Shell Programming and Scripting
Dear,
I want to check if the file in the if code is there, but I don't know how to do it?
if
Can someone assist me please?
Thanks!
kopie()
{
echo " Geef de naam van bestand + plaats vanwaar gekopieerd moet worden en waarnaar : "
echo -n " Plaats : "
read plaats
... (7 Replies)
Discussion started by: yadeki
7 Replies
4. UNIX for Advanced & Expert Users
Advance Thanks.
(1) I would like to know any unix/Linux command to check EOF char in a file.
(2) Or Any way I can check a file has been reached completely at machine B from machine A. Note that machine A ftp/scp the file to machine B at unknown time. (5 Replies)
Discussion started by: alexalex1
5 Replies
5. Shell Programming and Scripting
Hi,
I am a unix newbie. I need to write a script to check wheteher another script is still running. If it is, then sleep for 30m and then check again if the script is running. If the script has stopped running then, I need to come out of the loop.
I am using RHEL 5.2 (2 Replies)
Discussion started by: mathews
2 Replies
6. Shell Programming and Scripting
Can i write the following script...
$sqlplus -s uname/password @connectingstring
select emp_id,emp_name from employees > a.csv
quit
$mailx -s fga@ds.com < a.csv
$ (2 Replies)
Discussion started by: anupdas
2 Replies
7. UNIX for Dummies Questions & Answers
hello i came up with this ..The problematic part that i am facing is in underline and bold format.
exec<file
while read line
do
set $line
i=1
while
do
str=$i #problematic i want the positional parameter but here it takes integer value.
p=1
q=`expr length $str`
flag=1... (6 Replies)
Discussion started by: salman4u
6 Replies
8. UNIX for Dummies Questions & Answers
I wish to seach a Dir for a specific file, once the file is found i will perform additional logic. If the file is not found within two hours, i would like to exit.
Logically, I'm looking for the best way to approach this
Thanks for any assistance in advance.
Note: I'm using a C shell and... (2 Replies)
Discussion started by: mmarsh
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
Is there a way to check a word for a palindrome in Unix?
Thanks. (1 Reply)
Discussion started by: guelpth
1 Replies
Regexp::Common::lingua(3) User Contributed Perl Documentation Regexp::Common::lingua(3)
NAME
Regexp::Common::lingua -- provide regexes for language related stuff.
SYNOPSIS
use Regexp::Common qw /lingua/;
while (<>) {
/^$RE{lingua}{palindrome}$/ and print "is a palindrome
";
}
DESCRIPTION
Please consult the manual of Regexp::Common for a general description of the works of this interface.
Do not use this module directly, but load it via Regexp::Common.
$RE{lingua}{palindrome}
Returns a pattern that recognizes a palindrome, a string that is the same if you reverse it. By default, it only matches strings consisting
of letters, but this can be changed using the "{-chars}" option. This option takes a character class (default is "[A-Za-z]") as argument.
If "{-keep}" is used, only $1 will be set, and set to the entire match.
This pattern requires at least perl 5.6.0.
SEE ALSO
Regexp::Common for a general description of how to use this interface.
AUTHOR
Damian Conway (damian@conway.org)
MAINTAINANCE
This package is maintained by Abigail (regexp-common@abigail.be).
BUGS AND IRRITATIONS
Many regexes are missing. Send them in to regexp-common@abigail.be.
LICENSE and COPYRIGHT
This software is Copyright (c) 2001 - 2009, Damian Conway and Abigail.
This module is free software, and maybe used under any of the following licenses:
1) The Perl Artistic License. See the file COPYRIGHT.AL.
2) The Perl Artistic License 2.0. See the file COPYRIGHT.AL2.
3) The BSD Licence. See the file COPYRIGHT.BSD.
4) The MIT Licence. See the file COPYRIGHT.MIT.
perl v5.16.2 2010-02-23 Regexp::Common::lingua(3)