LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 04: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, 07:41 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,241

Rep: Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325Reputation: 2325
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 04:19 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration