01-30-2012
Thank you for your suggestions methyl and jim. Will try them out both and let you know
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I posted this in Shell scripting... maybe I'll try it in this forum..
*****************
I wrote a script to stop a process,truncate its log files and re-start the process...
We are using Progress Software in Unix ( Sun Sparc)
When ever I start this progress program , it should kick off a... (1 Reply)
Discussion started by: newtoxinu
1 Replies
2. Shell Programming and Scripting
Hi,
I wrote a script to stop a process,truncate its log files and re-start the process...
We are using Progress Software in Unix ( Sun Sparc)
When ever I start this progress program , it should kick off a C pgm in the background..
The script work perfectly fine when I run it from command... (4 Replies)
Discussion started by: newtoxinu
4 Replies
3. UNIX for Advanced & Expert Users
All,
I have a script that runs on 2 servers and there seems to be something wrong. It's producing different results on the 2 servers.
Here is the script on server1 which is behaving correctly but on 2 behaving differently.
2nd server:
I couldn't make out whats the error is?... (5 Replies)
Discussion started by: mhssatya
5 Replies
4. UNIX for Dummies Questions & Answers
Hi
I am using awk command for string replacement.
I have 2 servers. The command runs perfectly well on 1st server
On the second server when i run the command on the same datset
The command gets stuck while processing a large piece of record..
Does it have anything to with setting on the 2... (1 Reply)
Discussion started by: aixjadoo
1 Replies
5. Shell Programming and Scripting
Guys i have strange behaviour with command output being saved in a variable instead of a tmp file.
1. I suck command output into a variable
Sample command output
# cleanstats
DRIVE INFO:
----------
Drv Type Mount Time Frequency Last Cleaned Comment
*** ****... (1 Reply)
Discussion started by: lavascript
1 Replies
6. IP Networking
Hi,
how can i sftp or scp between 2 servers, when only i am able to ping to them.
they are on different network
10.130.170.31 -- server 1
10.130.230.141 -- server 2
i need to transfer data files from 1 to 2.
need your suggestions or help on these.
Regards
saha (4 Replies)
Discussion started by: saha
4 Replies
7. Shell Programming and Scripting
I have attached a file with few records. First 2 characters of each record are binary characters. I can remove it by
and it works fine. But
is behaving differently and removing more than expected characters. Can someone help me in accomplishing it through sed? Thanks in advance. (13 Replies)
Discussion started by: amicon007
13 Replies
8. Shell Programming and Scripting
Here is my test script:
#!/bin/sh
result=`jobs`
echo "
Jobs:
"$result
result=`ls`
echo "
LS
"$result
Here is the output:
Jobs:
LS
0 1 2 3 4 5 6 7 gcd initialize.sh #inter_round_clean.sh# inter_round_clean.sh inter_round_clean.sh~ look parallel_first_run.sh... (3 Replies)
Discussion started by: nealh
3 Replies
9. Shell Programming and Scripting
Hi All,
I have transferred some directory structures from server1 to server2 by creating a tar files. Now i need to cross check whether I transferred entire structures or not.
Is there any command to check this on each individual server.
Thanks (2 Replies)
Discussion started by: nag_sathi
2 Replies
10. Filesystems, Disks and Memory
I have a memory card of my Nokia N73 attached to laptop. There are a few partitions.
Why all partitions behave differently? As clear from the attachments, for some partition, delete option is disabled. See 'Disk 1' which is my memory card.
Here, patition 'G' (CHECK), i created in windows. The... (6 Replies)
Discussion started by: ravisingh
6 Replies
LEARN ABOUT PHP
pspell_new_personal
PSPELL_NEW_PERSONAL(3) 1 PSPELL_NEW_PERSONAL(3)
pspell_new_personal - Load a new dictionary with personal wordlist
SYNOPSIS
int pspell_new_personal (string $personal, string $language, [string $spelling], [string $jargon], [string $encoding], [int $mode])
DESCRIPTION
pspell_new_personal(3) opens up a new dictionary with a personal wordlist. The wordlist can be modified and saved with
pspell_save_wordlist(3), if desired. However, the replacement pairs are not saved. In order to save replacement pairs, you should create a
config using pspell_config_create(3), set the personal wordlist file with pspell_config_personal(3), set the file for replacement pairs
with pspell_config_repl(3), and open a new dictionary with pspell_new_config(3).
For more information and examples, check out inline manual pspell website:http://aspell.net/.
PARAMETERS
o $personal
- The file where words added to the personal list will be stored. It should be an absolute filename beginning with '/' because
otherwise it will be relative to $HOME, which is "/root" for most systems, and is probably not what you want.
o $language
- The language code which consists of the two letter ISO 639 language code and an optional two letter ISO 3166 country code after
a dash or underscore.
o $spelling
- The requested spelling for languages with more than one spelling such as English. Known values are 'american', 'british', and
'canadian'.
o $jargon
- Extra information to distinguish two different words lists that have the same language and spelling parameters.
o $encoding
- The encoding that words are expected to be in. Valid values are utf-8, iso8859-*, koi8-r, viscii, cp1252, machine unsigned 16,
machine unsigned 32.
o $mode
- The mode in which spellchecker will work. There are several modes available:
o PSPELL_FAST - Fast mode (least number of suggestions)
o PSPELL_NORMAL - Normal mode (more suggestions)
o PSPELL_BAD_SPELLERS - Slow mode (a lot of suggestions)
o PSPELL_RUN_TOGETHER - Consider run-together words as legal compounds. That is, "thecat" will be a legal compound, although
there should be a space between the two words. Changing this setting only affects the results returned by pspell_check(3);
pspell_suggest(3) will still return suggestions.
Mode is a bitmask constructed from different constants listed above. However, PSPELL_FAST, PSPELL_NORMAL and PSPELL_BAD_SPELLERS
are mutually exclusive, so you should select only one of them.
RETURN VALUES
Returns the dictionary link identifier for use in other pspell functions.
EXAMPLES
Example #1
pspell_new_personal(3)
<?php
$pspell_link = pspell_new_personal ("/var/dictionaries/custom.pws",
"en", "", "", "", PSPELL_FAST|PSPELL_RUN_TOGETHER);
?>
PHP Documentation Group PSPELL_NEW_PERSONAL(3)