9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All, I have a question in Unix
Let's say when the command is executed in Unix, where the shell search for that command in Unix. I mean where
that command is defined in Unix.
And how Can we make our own command. (7 Replies)
Discussion started by: adisky123
7 Replies
2. UNIX for Dummies Questions & Answers
I have open suse kernel kernel 3.1.0-1.2-desktop on which I used kernel source 3.1.10-1.2 downloaded from kernel.org.
The module gets built.
While loading a kernel module I am getting Invalid module format error with description "first_driver: no symbol version for module_layout"
The... (5 Replies)
Discussion started by: rupeshkp728
5 Replies
3. Shell Programming and Scripting
when i am executing the script i am getting ?Invalid command though the script is right.
Could any one please let me know how to overcome this problem. Urgent Please
Thanks a lot in advance (2 Replies)
Discussion started by: Olivia
2 Replies
4. AIX
Hello everybody:
I have a trouble running an application which connects to an Oracle server, I got this message:
Dependent module /opt/oracle/product/10.2/lib/libclntsh.so could not be loaded.
The module has an invalid magic number.
Running ldd MyApp doesn't report missing symbols, I've... (1 Reply)
Discussion started by: edgarvm
1 Replies
5. Shell Programming and Scripting
#! /bin/csh
set pattern = ""
set deli = |
foreach i ( `cat pattern`)
set pattern = "$pattern$deli$i"
end
all i want to accomplish is create a string a|b|c, but instead I got an invalid null command error,
thanks for your help (1 Reply)
Discussion started by: jdsignature88
1 Replies
6. Web Development
Hi,
I have a SCO Unix Openserver V6 server which is hosting a website with Apache V1.3 as the http server. The web site has an initial login screen which re-directs to another page once the user name and password has been verified.
When connecting to the website and trying to login, it times... (0 Replies)
Discussion started by: Martyn
0 Replies
7. Shell Programming and Scripting
I have telnet to a machine and executed some commands in it.
pls see below :
#!/usr/bin/expect
spawn telnet 170.10.11.1 2100
expect "login:"
send username\r
expect "password:"
send password\r
expect "$"
send "touch filetest\r"
expect "$"
send exit\r
expect... (3 Replies)
Discussion started by: sudharsan23
3 Replies
8. Solaris
Hi men,
Have you ever meet this error ?
I install full Sun MC 4.0 packages (+ Add ons) exception of Sun Midrange Platform Administration because i don't know how to configure it
Then all other servers are ok, only E2900 servers have Config reader module error: Data Acquisition error
I... (12 Replies)
Discussion started by: tien86
12 Replies
9. Programming
I have been trying to write a very basic chat program but at the moment I am having problems getting it to be multiuser as it closes all connections when one client shutsdown. I have also been having problems trying to get the program to display a list of usernames to the clients. I have tried... (0 Replies)
Discussion started by: dooker
0 Replies
PSPELL_STORE_REPLACEMENT(3) 1 PSPELL_STORE_REPLACEMENT(3)
pspell_store_replacement - Store a replacement pair for a word
SYNOPSIS
bool pspell_store_replacement (int $dictionary_link, string $misspelled, string $correct)
DESCRIPTION
pspell_store_replacement(3) stores a replacement pair for a word, so that replacement can be returned by pspell_suggest(3) later. In order
to be able to take advantage of this function, you have to use pspell_new_personal(3) to open the dictionary. In order to permanently save
the replacement pair, you have to use pspell_config_personal(3) and pspell_config_repl(3) to set the path where to save your custom
wordlists, and then use pspell_save_wordlist(3) for the changes to be written to disk.
PARAMETERS
o $dictionary_link
- A dictionary link identifier, opened with pspell_new_personal(3)
o $misspelled
- The misspelled word.
o $correct
- The fixed spelling for the $misspelled word.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
pspell_store_replacement(3)
<?php
$pspell_config = pspell_config_create("en");
pspell_config_personal($pspell_config, "/var/dictionaries/custom.pws");
pspell_config_repl($pspell_config, "/var/dictionaries/custom.repl");
$pspell_link = pspell_new_config($pspell_config);
pspell_store_replacement($pspell_link, $misspelled, $correct);
pspell_save_wordlist($pspell_link);
?>
NOTES
Note
This function will not work unless you have pspell .11.2 and aspell .32.5 or later.
PHP Documentation Group PSPELL_STORE_REPLACEMENT(3)