Search Results

Search: Posts Made By: omoyne
Forum: Programming 06-15-2010
2,067
Posted By omoyne
REGEX problem
Hi there,
How can we use regex in perl to store the Route Distinguisher (the bold field) and also the underlined and bold lines in the below file?

Note:
These highlighted pattern is redundant...
7,337
Posted By omoyne
Expect Script Error invalid spawn id (6)
Hi everybody,

We are trying to connect to a server and to a router using an .expect script that automatically authenticate the username and password needed. The error is that we cannot connect to...
2,147
Posted By omoyne
the format is correct but it does not work. it...
the format is correct but it does not work. it won't store anything in the variable:(
2,147
Posted By omoyne
How to add up fields
Hi everyone,

after entering the following command:

/usr/sfw/bin/snmpwalk -v2c -c "sMart5snmPaCC3ss" ABI0-QCLAMI-CE2 1.3.6.1.4.1.9.9.43.1.1.6.1.7

I get this output:
...
12,905
Posted By omoyne
that was timestamp of a FILE!....this question is...
that was timestamp of a FILE!....this question is regard to obtaining the current time in epoch format. There are no files here!!
12,905
Posted By omoyne
thanks but I was looking for something more...
thanks but I was looking for something more straightforward :)
12,905
Posted By omoyne
getting the current time in Epoch format
Hi everybody,

I want to get the current time in epoch format (in UNIX or Korn Shell) and store it in a variable called
currentTime. Any response will be highly appreciated:)

Thanks in...
3,589
Posted By omoyne
Filestamps in Korn Shell
Hi everybody,

Does anyone know how to get the timestamp of a file in eposh format in Korn Shell?? any suggestions would be highly appreciated:)

Thanx in advance:b:
9,592
Posted By omoyne
thanks a lot:o
thanks a lot:o
9,592
Posted By omoyne
String parsing in Korn Shell
Hi everybody, I have a string stored in a variable called record:

record="SNMPv2-SMI::ent.9.9.43.1.3.9.2 = Timeticks: (177330898) 20 days, 12:35:08.98"

I want to write some regular expressions...
Showing results 1 to 10 of 10

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