Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Update code files in /usr/share/misc' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Update code files in /usr/share/misc
Authored by: tandemrepeat on Aug 08, '03 11:17:03AM

great hint - hadn't even looked in the directory...thanks!



[ Reply to This | # ]
Update code files in /usr/share/misc
Authored by: rgbrock1 on Aug 08, '03 11:32:42AM

Don't forget that if you are using the default shell, that before running the update_codes command you need to enter the command as follows: sudo sh update_codes

---
Richard G. Brock
rgbrock1@mac.com



[ Reply to This | # ]
Update code files in /usr/share/misc
Authored by: notmatt on Aug 08, '03 12:42:46PM

That sounds odd to me - that's what the #!/bin/sh is supposed to take care of, and similarly-constructed scripts have worked for me forever without changing from the default shell.



[ Reply to This | # ]
Update code files in /usr/share/misc
Authored by: bdm on Aug 08, '03 08:39:42PM

Quite so, Richard is mistaken. In fact, your default shell is not used even if there is no #! construction at the front. In that case the Bourne shell /bin/sh is used (which these days is often bash masquerading as sh). This is a convention that goes back to the earliest days of Unix.

Brendan.



[ Reply to This | # ]