- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Anybody knows why???
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
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
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
05-11-2002 07:41 AM
05-11-2002 07:41 AM
$ find . -name *sh
find: missing conjunction
Anyone knows why this is happening? It runs OK in another HP-UX I am using. Environment issue maybe? I also ran as root.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 07:46 AM
05-11-2002 07:46 AM
Solutionfind . -name '*sh' will fix you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 07:49 AM
05-11-2002 07:49 AM
Re: Anybody knows why???
Fine, that resolved my issue, thanks, but why is it that it does work on the other system with a basically similiar structure (same directory and files in it)??? Only difference, the other runs HP-UX 11 while the one where I had trouble is 10.2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 11:06 AM
05-11-2002 11:06 AM
Re: Anybody knows why???
The answer is, it depends on the shell you are using, the environment varibales set, the version of find etc. Normally different shells interprets/execute the wildcards (*,?) in different ways.
Read this document (TKB #AUSRCKBRC00003089), it will give you a better explanation:
http://us-support.external.hp.com/cki/bin/doc.pl/sid=ca36030e0f41f10775/screen=ckiDisplayDocument?docId=200000050417063
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2002 07:35 PM
05-11-2002 07:35 PM
Re: Anybody knows why???
Try this:
echo *
set -f
echo *
set +f
echo *
This illustrates that the shell is replacing special characters with matching filenames as long as globbing is enabled.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2002 03:42 AM
05-12-2002 03:42 AM
Re: Anybody knows why???
The link given by Shiju is a good reference for those of you who look in here and would like a detailed explanation.