perl script:
my $logdir = '/smp/dyn/logfiles/fsm/mp/mp';
$logdir = $logdir ."/mp${toDate}*";
i tried to make it..as below .. but not working ..
date +%m%d%y
logdir = /smp/dyn/logfiles/fsm/mp/mp
logdir=$logdir/mp"$date"
but it was not working.....
can someone please help me out in... (1 Reply)
I need a shell script which will convert the given string within a <title> tag to Capitalize case.
E.g "<title>hi man: check this out</title>"
to "<title>Hi Man: Check This Out</title>" (11 Replies)
Good afternoon to you all
I really need your help
I have the following script developed in .sh and I need to convert it into perl. Can someone help me do it please?
Here´s the script:
##############################################
##############################################
... (3 Replies)
This is about how to Monitoring folder for new files using shell script
im doing a project using smsserver tools 3. i have used a perl script
to handle incoming messages. the content of each message must be
directed to a java program. this program generates the answer to reply
to the user... (2 Replies)
I have a shell script which I made with the help of this forum
#!/bin/sh
RuleNum=$1
cat bw_rules | sed 's/^.*-x //' | awk -v var=$RuleNum '$1==var {for(i=1;i<=NF;i++) {if($i=="-bwout") print $(i+3),$(i+1)}}'
Basically I have a pages after pages of bandwidth rules and the script gives... (0 Replies)
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)
Hello,,I have a very small script that contains these lines; and it works perfectly; however I need to use Perl now as I will need to feel variables from a MySQL table into this; to it would be nice to start by converting this first...
find / -perm 777 \( -type f -o -type d \) -exec ls -lid {}... (1 Reply)
There is a python script that I would like converted to a perl script. If someone has the time to convert the script I would appreciate it. You can find the script below:
reboot-mb8600/reboot-mb8600.py at master . j4m3z0r/reboot-mb8600 . GitHub
#!/usr/bin/python
'''
A hacky script to... (1 Reply)
Discussion started by: azdps
1 Replies
LEARN ABOUT REDHAT
psi
PSI(1) User Commands PSI(1)NAME
Psi - jabber client
SYNOPSIS
psi [--profile=PROFILE] [--remote|--choose-profile]
DESCRIPTION
[--status=STATUS [--status-message=MSG]] [--uri=URI]
Psi - The Cross-Platform Jabber/XMPP Client For Power Users
OPTIONS --choose-profile
Display Choose Profile dialog on startup. Cannot be used together with --remote.
-h, --help
Show this help message and exit.
--profile=PROFILE
Activate program instance running specified profile. Otherwise, open new instance using this profile (unless used together with
--remote).
--remote
Force remote-control mode. If there is no running instance, or --profile was specified but there is no instance using it, exit with-
out doing anything. Cannot be used with --choose-profile.
--status=STATUS
Set status. STATUS must be one of `online', `chat', `away', `xa', `dnd', `offline'.
--status-message=MSG
Set status message. Must be used together with --status.
--uri=URI
Open XMPP URI. (e.g. xmpp:someone@example.org?chat) For security reasons, this must be the last option.
-v, --version
Show version information and exit.
SEE ALSO
Go to <http://psi-im.org/> for more information about Psi.
Psi 0.14 January 2012 PSI(1)