LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices



Reply
 
Search this Thread
Old 04-15-2010, 07:12 AM   #31
harsha1980
LQ Newbie
 
Registered: Apr 2010
Posts: 17

Original Poster
Rep: Reputation: 0

hmmm....that is a valid point. I'll bring that to their attention.

But i might end up being told to stick to the plan. (making them work in HP-UX)....sorry for being a pessimist.

Regards
 
Old 04-15-2010, 07:18 AM   #32
harsha1980
LQ Newbie
 
Registered: Apr 2010
Posts: 17

Original Poster
Rep: Reputation: 0
They said NO. . So back to square 1. damn me.
 
Old 04-15-2010, 07:25 AM   #33
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Just a smart thought, will they be able to figure out ;-) if you change it on linux and copy back

What version of HP UX is that ?
Do you have perl on Both HP-UX and LINUX ?
Which version of perl is there on HP-UX.
 
Old 04-15-2010, 07:45 AM   #34
harsha1980
LQ Newbie
 
Registered: Apr 2010
Posts: 17

Original Poster
Rep: Reputation: 0
Yes. THey would.

its HP-UX B.11.11
Yes. Perl exists on both.
on HP-UX it is v5.8.0 built for PA-RISC1.1-thread-multi

Regards
 
Old 04-15-2010, 07:51 AM   #35
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Then I would recommend to write a small script in perl.
 
Old 04-16-2010, 04:19 AM   #36
harsha1980
LQ Newbie
 
Registered: Apr 2010
Posts: 17

Original Poster
Rep: Reputation: 0
I modified the syntax in the script to match with HP-UX and it is working fine now. THnx
 
Old 04-16-2010, 04:36 AM   #37
PMP
Member
 
Registered: Apr 2009
Location: ~
Distribution: RHEL, Fedora
Posts: 381

Rep: Reputation: 58
Good and if your problem is all done, Please mark the thread as solved

Please post the HP-UX solution as well!!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script to Delete line if pattern exists topcat Programming 22 08-23-2011 05:58 AM
printing pattern match and not whole line that matches pattern Avatar33 Programming 13 05-06-2009 07:17 AM
delete a line containing a pattern and the next line of a text file powah Programming 3 01-31-2007 06:34 PM
How to delete a line from a text file with shell script programming Bassam General 1 01-28-2004 09:51 PM


All times are GMT -5. The time now is 04:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration