Search Results

Search: Posts Made By: chriss_58
1,455
Posted By chriss_58
Hello, When i use: my...
Hello,

When i use:
my $filename="C:\Users\christos.rovolis\Desktop\perl\output\proration_$current_date.txt";
the print of the $filename gives the following output which is incorrect:...
1,455
Posted By chriss_58
Balajesury thank you for your help. I used...
Balajesury thank you for your help.

I used the code that you send me andthe problem is with the following line:
open (OUTPUT_FILE, ">>proration_$current_date.txt")||die "$!";

when i use double...
1,455
Posted By chriss_58
Adding timestap to filename using perl
Hello,

I am trying to create a file in windows and i want the filename to have timestamp as well but something is wrong and i can not understand waht. The code that i use is the following

...
1,514
Posted By chriss_58
Replace/Remove not specific text in perl
Hello,

Consider that i have many files that have the below format:

file1
900 7777
1000 5 6 23 nnnnnnnnnnnnnnnnnn
1100 kkkkkkk

file2
900 1989
1000 5 3 10 ...
821
Posted By chriss_58
TCl issue
Hello,

I am using in a tool the following tcl expression:

[IF {{[lindex [split $SM(PTC_A.Subtype) _] 0] eq "prepaid" || $SM(b_mvpn_number) eq ""} && $SM(PTC_B.Subtype) ne...
1,659
Posted By chriss_58
Hello, I am using ksh shell in true 64...
Hello,

I am using ksh shell in true 64 platform. The aforementioned error appears when i run the command

perl Makefile.PL

Thank you!
1,659
Posted By chriss_58
Error Installing Env::Sourced
Hello,

I am trying to install Env::Sourced and i get the following error.

sh: source: not found
sh: include.sh: not found
Unable to determine your shells source program, typically 'source'...
1,565
Posted By chriss_58
Thank you for your quick reply but both of the...
Thank you for your quick reply but both of the above comment are not working, both are returning the same wrong result
rovolis@SLBATH004:/usr/users/rovolis/PREPAID/file_conc $ ./test.sh
chris=rerun...
1,565
Posted By chriss_58
If condition issue
Hello,

I am using the following code

#!/bin/sh

chris='rerun'
chris2=$1

echo "chris=$chris"
echo "chris2=$chris2"


if ["$chris" -eq "$chris2"]
then
echo "RERUN"
else
...
15,162
Posted By chriss_58
Hello I use the code: find . -name...
Hello

I use the code:
find . -name '/ODS/prepaid/CDR_FLOW/WORK/VOICE*' -o -name '/ODS/prepaid/CDR_FLOW/WORK/SUBSCR*' -o -name '/ODS/prepaid/CDR_FLOW/WORK/DEL*' -o -name...
15,162
Posted By chriss_58
Cabrao hi, I used the following code: find...
Cabrao hi,

I used the following code:
find . -name VOICE* -o -name SUBSCR* -o -name DEL* -o -name EVENTS* -o -name CREDIT* -o -name RTCHANGE* -o -name GPRS* -o -name ACTIV* -o -name EXPR* | xargs...
15,162
Posted By chriss_58
How to tar large amount of files?
Hello

I have the following files
VOICE_hhhh
SUBSCR_llll
DEL_kkkk

Consider that there are 1000 VOICE files+1000 SUBSCR files+1000DEL files

When i try to tar these files using

tar -cvf...
4,843
Posted By chriss_58
I still het the error: X: unknown option ...
I still het the error:
X: unknown option


To Moderator: Can you please provide instructions regarding code tags?
Answer:
[ c o d e ]
your code goes here
[ / c o d e ]

Remove spaces and...
4,843
Posted By chriss_58
Excluding file from tar
Hello i am using HP-UX rapdb2 B.11.23 U ia64 1068321383 unlimited-user license.

I am tryiyng to exclude for tar all files that start with TOT* but i doues not work

I am using:

tar -cvf...
10,130
Posted By chriss_58
Concatenation of a large number of files
Hellow i have a large number of files that i want to concatenate to one. these files start with the word 'VOICE_' for example
VOICE_0000000000
VOICE_1223o23u0
VOICE_934934927349

I use the...
896
Posted By chriss_58
Problem writing to different files
Hello:

I have the following code:

----------------------------------
open (OUTPUT_FILE, ">>/usr/users/rovolis/PREPAID/CC/TCG/PP.$cyear$cmonth$cday.txt")||die "$!";
82 open...
2,855
Posted By chriss_58
perl - Error trying to compare timestamps
Hello,

I have the following snippet of code:

my $Temp="";
239 #Fix Timestamp
240 ...
19,275
Posted By chriss_58
Yes it is SOAP web services..
Yes it is SOAP web services..
19,275
Posted By chriss_58
How to call a web service using perl
Hello to all,

What i would like to know is how to call a web service using perl.
Where can i find documentation that easy describes this procedure?
Any advices will be more tha welcome.
Thank...
3,295
Posted By chriss_58
Use ftp is a shell script
Hi,

What i would like to do is to use a shell script connect to a remote computer and download files from a specific directory. I wrote the following script.

#!/bin/sh

HOST='IP'...
8,850
Posted By chriss_58
So i guess that when the remote connection is...
So i guess that when the remote connection is established the remain part of perl code will be executed in the remote computer normally, manipulating the remote files like they way that it would be...
8,850
Posted By chriss_58
Which is the easiest way to access a remote pc...
Which is the easiest way to access a remote pc and manipulate remote file using perl?
TELNET SSH or RSH?
8,850
Posted By chriss_58
Access a remote computer using perl
Dear all,

Where can i find documentation on how to access a remote computer using a perl script? I search to the internet but i can not find something straightforward to this issue.
Which is the...
3,710
Posted By chriss_58
Running unix commands through perl
Hi all,

In the directory '/temp/chris' the following files exist: chris.tar, chris.txt

What i am trying to do is to assign the 'chris.tar' filename in an argument through perl, in order to do...
3,824
Posted By chriss_58
Show column names when access a table using perl
Hi all,

I am using the following code in order to access the data of a table:

my $sql = qq{ SELECT * FROM cc_test_cases};

$sth = $dbh->prepare( $sql );
$sth->execute( );


while(@row1 =...
Showing results 1 to 25 of 58

 
All times are GMT -4. The time now is 08:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy