LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-20-2009, 03:07 PM   #1
kofucii
Member
 
Registered: May 2007
Location: Bulgaria
Distribution: Slackware, SCO Unix
Posts: 62

Rep: Reputation: 20
korn shell and spellcheck


Hello,
I'm using slackware 12.2. How can I turn on spellckeck function on ksh? I've tried with "export CDSPELL=cdspell", but It doesn't work. Any ideas?
 
Old 08-20-2009, 06:41 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,356

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
According to this http://docsrv.sco.com:507/en/man/html.C/ksh.C.html its on by default if you don't set it, and any setting it to any value turns it on.
Use

unset CDSPELL

to turn it off

You do know it only checks spelling of dirs when you use the cd cmd; its not a generic spellchecker?

Interestingly, the only docs I can find on Google for ksh and cdspell seem to be SCO specific.
The ksh88 manual http://www.research.att.com/sw/downl...an1/ksh88.html and ksh93 manual http://www.research.att.com/sw/downl.../man1/ksh.html don't seem to have it...
However, there's plenty of hits on the bash equiv

shopt -s cdspell

HTH
 
  


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
korn shell tutorial/course kapilcool Linux - Certification 2 11-13-2006 09:18 PM
Korn shell and Arrays jpc82 Programming 1 06-28-2005 02:27 AM
Arrays in Korn Shell...? vous Programming 1 03-26-2005 01:35 AM
Using a Korn shell in rc scripts desbyleo Solaris / OpenSolaris 3 11-12-2004 05:27 PM
install korn shell namgor Linux - Newbie 1 07-12-2004 02:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:17 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