- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Unmatched '. error message when changing to...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 05:24 PM
тАО01-27-2006 05:24 PM
have any of you seen this error message?
whenever I change to c-shell, using csh
I get this
# csh
Unmatched '.
Everything seem to be okay, but I keep getting these messages whenever I change to the c-shell from any user.
It may be something with environment variables or the passwd file but I haven't seen anything wrong there. This system was just commisioned so I really don't know what has happened on it.
Any idea?
Many thanks
Solved! Go to Solution.
- Tags:
- csh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 05:34 PM
тАО01-27-2006 05:34 PM
Re: Unmatched '. error message when changing to csh...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 05:44 PM
тАО01-27-2006 05:44 PM
Re: Unmatched '. error message when changing to csh...
If I type the full path to the binary file
I still get the same error with any user on the c-shell.
sewass1:/ (3) root% /bin/csh
Unmatched '.
sewass1:/ (1) root%
sewass1:/ (2) root% whereis csh
csh: /usr/bin/csh
# /usr/bin/csh
Unmatched '.
sewass1:/ (1) root% exit
Any other idea?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 05:54 PM
тАО01-27-2006 05:54 PM
Re: Unmatched '. error message when changing to csh...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2006 06:04 PM
тАО01-27-2006 06:04 PM
Solution#file csh
csh: PA-RISC1.1 shared executable dynamically linked
#usr/bin>>ll csh
-r-xr-xr-x 1 bin bin 155648 Jun 21 2004 csh
Just a rare hit but check this as well. The executable version may be different depending upon the OS version.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2006 12:30 AM
тАО01-28-2006 12:30 AM
Re: Unmatched '. error message when changing to csh...
Look at cshrc and .login files in the homedir of the user, which runs csh.
Additionally please take into account that syntax of csh differs from sh.
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 11:15 PM
тАО01-29-2006 11:15 PM
Re: Unmatched '. error message when changing to csh...
Verify files:
~/.cshrc
A csh script sourced (executed) at the beginning of execution by each shell.
~/.login
A csh script sourced (executed) by login shell, after .cshrc at login.
/etc/csh.login
A csh script sourced (executed) before ~/.cshrc and ~/.login when starting a csh login (analogous to /etc/profile in the Bourne shell).
Regards!
KRI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2006 11:36 PM
тАО01-29-2006 11:36 PM
Re: Unmatched '. error message when changing to csh...
there is a syntax error in one of the init-files of csh.
Use this way to trace the settings (try all the files KRI told):
- start csh: csh
- set echo
- source ~/.cshrc
The last statement of the trace before the output "Unmatched ' " contains the command producing the error.
Edit this file and correct the statement.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 06:19 AM
тАО01-30-2006 06:19 AM
Re: Unmatched '. error message when changing to csh...
the ~/.cshrc and ~/.login can contain the error.
You can suppress execution of your ~/.cshrc by executing: csh -f
If you do not get the error after executing this command, you will know that the error is in this specific file.
It may also be that you have some "global" settings in your: /etc/csh.login
This is executed before the user specific file(s)
/2r_arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 06:33 AM
тАО01-30-2006 06:33 AM
Re: Unmatched '. error message when changing to csh...
is most likely that you have used a quote in a line which is unmatched.
I simulated the same error message by adding this line to my .cshrc file:
alias quote_err='
Since the error occure for all users, I would have checked the /etc/csh.login first.
Secondly, the error could have been copied to all users personal .cshrc file upon creation of the user. When you add a new user a template file (skeleton) is used.
See files in /etc/skel
/2r_arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 07:44 AM
тАО01-30-2006 07:44 AM
Re: Unmatched '. error message when changing to csh...
it is now okay.
Brgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2006 05:14 AM
тАО02-01-2006 05:14 AM
Re: Unmatched '. error message when changing to csh...
you should do something for the statistics, your profile states:
I have assigned points to 0 of 19 responses to my questions.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2017 12:09 AM
тАО07-19-2017 12:09 AM
Re: Unmatched '. error message when changing to csh...
Hi Javier,
How did you resolve the error "Unmatched "." when execute /bin/csh.
[root@localhost ~]# /bin/csh
Unmatched ".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2017 10:15 AM - edited тАО07-19-2017 10:16 AM
тАО07-19-2017 10:15 AM - edited тАО07-19-2017 10:16 AM
Re: Unmatched '. error message when changing to csh...
> How did you resolve the error "Unmatched "."
As mentioned above, look at any recently changed files: ~/.cshrc ~/.login
And fix the syntax errors.
(The correct solution is to switch to ksh or Posix shell. :-)