Sponsored Content
Top Forums Shell Programming and Scripting need couple of ksh tricks please Post 302169997 by Perderabo on Saturday 23rd of February 2008 12:55:39 PM
Old 02-23-2008
vi commands work only if vi mode is on. I use emacs mode. You them them on with one of:
set -o vi
set -o emacs
But by default neither is on.
 

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

tar tricks

Hello there, Is there anyway to make the tar utility print the contents of the files inside it (not list the files, but rather their contents) sequentially from the command line? What I ultimately would like to do is to have a way of printing the contents of each file in the tar archive... (2 Replies)
Discussion started by: neked
2 Replies

2. UNIX for Dummies Questions & Answers

Set prompt, problems and tricks

I'm using a csh shell (or, that'd be my guess from the .cshrc file I see) and I'm looking to change my prompt. There are about 10 other threads, I know, but this question is a little more specific. I want to know, is there a way to list the current directory from a certain level or directory... (6 Replies)
Discussion started by: HybridLogic
6 Replies

3. Post Here to Contact Site Administrators and Moderators

Solaris tips and tricks

What do you think could we open new top topic with tips and tricks and to show to other users some tricks what do we know like dtrace , new virtual server , how to add new users etc. This is only suggestion (1 Reply)
Discussion started by: solaris_user
1 Replies

4. UNIX for Dummies Questions & Answers

Sed Tricks

I have a file which containd a string "old" and I need to replace all old with "new" if and only if it is a string not part of a string like Gold or fold etc. I tried with sed like below echo "old gold old" | sed 's/old/new/g' It doesn't give the desired output, It give "old Gnew new".... (3 Replies)
Discussion started by: siba.s.nayak
3 Replies

5. UNIX for Advanced & Expert Users

Basic VI tricks

I found a decent guide of VI basic tricks. This guide does expect you to have a decent understanding of VI. It does not go over very much beginner related. vi Manual (3 Replies)
Discussion started by: cokedude
3 Replies

6. UNIX for Beginners Questions & Answers

Vim tips and tricks

Vim Tips and Tricks Save and quit :w => Save :q => Exit as long as there have been no changes :q! => Exit and ignore any changes :wq => Save and Exit. :x => Exit, saving changes ZZ => Exit and save changes if any have been made :10,20w filename => writes the... (34 Replies)
Discussion started by: ungalnanban
34 Replies
ISPELL-WRAPPER(1)														 ISPELL-WRAPPER(1)

NAME
ispell-wrapper - smart wrapper for ispell SYNOPSIS
ispell-wrapper [--emacs=name] [--language=regexp] [--dry-run] [ispell options] file Options (all long only options): --emacs=name Set the language to use by emacs dict name --language=regexp Set the language to use by name --dry-run Only show what would have done DESCRIPTION
ispell-wrapper is a wrapper script for ispell intended to be used in a Debian system in conjunction with the infrastructure introduced by the dictionaries-common package. Option --dry-run will show the string to be run without doing anything else. It automatically sets the -d, -w, and -T options to ispell as a function of the chosen language. Of course, this only works for dictionary packages that comply with the above mentioned Policy. Here is how the language is defined (in order of priority): 1) By matching the emacs dict name given in --emacs option to the name of one of the emacs dicts names provided by installed languages in the system. This match must be exact (although is case insensitive). Note that this will override any value given in the --language option. 2) By matching the regexp given in option --language to the list of installed languages in the system. 3) By matching the regexp stored in the environment variable ISPELLDEFAULT to the list of installed languages in the system. 4) By using the value stored in the user-specific file ~/.ispell-default (use select-default-iwrap(1) to set it). 5) By using the value stored in the site-wide file /etc/dictionaries-common/ispell-default (use select-default-ispell(8) as superuser to set it). Note: regexp matches are case-insensitive and the ISO-8859-1 special characters are transformed into their ASCII equivalents. German ess- zet is equivalent to the character "s" and the ae ligature to the character "e". EXAMPLE
Let us say that the following dictionaries are installed in the system (as appearing in the Debconf question at installation time): castellano (Spanish TeX mode) castellano8 (Spanish 8 bit) portugues (European Portuguese) portugues brasileiro (Brazilian Portuguese) Choosing the regexp (either in the --language option or in the environment variable ISPELLDEFAULT) to be "span" will yield an error, since two languages will match ("castellano" and "castellano8"). However, if the regexp is "span.*8", the language "castellano8 (Spanish 8 bit)" will be chosen. ENVIRONMENT
ISPELLDEFAULT Regexp that matches the name of the default language to use, if no --language option is given. FILES
$HOME/.ispell-default Contains the name of the language to use, if no --language option is given or if the ISPELLDEFAULT environment variable is not set. This is a user-specific choice. /etc/dictionaries-common/ispell-default Name of the language to use when everything above is not set. This is a system-wide setting. SEE ALSO
select-default-ispell(8), select-default-iwrap(1) AUTHORS
Rafael Laboissiere 1.12.11 2013-1-22 ISPELL-WRAPPER(1)
All times are GMT -4. The time now is 03:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy