LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices


Reply
  Search this Thread
Old 02-04-2015, 08:14 AM   #16
flexihopper18
Member
 
Registered: Jan 2015
Posts: 30

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by pan64 View Post
I do not understand it, how did you copy that file? What kind of os do you have? Does that mean the same script works on the same host from another dir?
we are using AIX..before installing, I backup the old one. The new one has also a install.sh file. But the new one is not working. I tried to run the install.sh in my backup(old one), oit works. So I copy the old install.sh to the directory of the new application directory using "cp" command..but it gives an error ./install.sh[77]: 0403-057 Syntax error at line 77 : `if' is not matched when I run it.
 
Old 02-04-2015, 03:27 PM   #17
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i was gonna' suggest cat -A on both files but that is a gnu extension. maybe a mod can move this to the unix subforum.
 
Old 02-05-2015, 03:36 AM   #18
NevemTeve
Senior Member
 
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 4,862
Blog Entries: 1

Rep: Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869Reputation: 1869
Such errors tend to be hard to fix without seeing the source... (Note: please use [code] and [/code] tags, if you paste code.)

Note: here is a tested rmcr program (remove CR), if you don't find one.
 
Old 02-05-2015, 11:58 PM   #19
flexihopper18
Member
 
Registered: Jan 2015
Posts: 30

Original Poster
Rep: Reputation: Disabled
Problem solved I request another file and make sure to transfer it in binary resolving the issue of ^M. Indicating that the file was save in windows or the file was not transferred in binary. Thank you guys for your help
 
Old 02-06-2015, 12:09 AM   #20
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,838

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
glad to help you
if you really want to say thanks just press YES.
Also if your problem was solved please mark the thread as solved.
thanks
 
  


Reply



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
ksh install help in fedora 11 kaka1988 Fedora 3 12-05-2009 09:04 AM
Ksh : Command not found aashish_us2002 Linux - Software 15 03-13-2006 04:26 AM
How to install Ksh shell hardeep_ubhi Linux - Newbie 1 02-03-2005 07:55 AM
Installation of ksh after Redhat Install ?? linuxRules Linux - General 2 11-06-2002 02:27 PM

LinuxQuestions.org > Forums > Other *NIX Forums > AIX

All times are GMT -5. The time now is 02:23 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
Open Source Consulting | Domain Registration