10-03-2011
Any other suggestions on how to do this?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi. I have been having problems with restoring from a tape backup. I use the following cpio command:
find / -print | cpio -ouvB > /dev/rStp0
After running this cpio command, the screen will display all files, but when I try to read or restore the tape I get the following error:
Tape input... (1 Reply)
Discussion started by: cstovall
1 Replies
2. Solaris
Hi folks,
I have an image backup of an entire file system (Solaris 9 on N240) on a tar file.
How can I use this tar file to retore my system?
Thanks,
omd (1 Reply)
Discussion started by: omd
1 Replies
3. UNIX for Dummies Questions & Answers
my first question is how to zip the entire directory contents.
second question is can we unzip the same file through windows environment.
please help i need to complete it by EOD (3 Replies)
Discussion started by: bbc17484
3 Replies
4. Shell Programming and Scripting
Hi All,
I need to tar the entire directory except one directory inside that.
I have used the below command
tar -cvfX test.tar bin/perl bin/
I need to tar all the directories inside the bindirectory except the perl directory
Please help me in solving this :b:
Regards,
Kalai (4 Replies)
Discussion started by: kalpeer
4 Replies
5. AIX
Dear All:
we are using backup command on AIX to take backup
as below in this command we also add compress command
ulimit unlimited
cd /apps/oracle
find orcldb orcldata arch |tee /apps/orabkp/ofgl.faysalbank.com-17Jun10Thu-ORCL-DB.bkp.gz.log | backup -ivqf - |gzip -c >... (0 Replies)
Discussion started by: lodhi1978
0 Replies
6. AIX
Hello,
Few days ago I created both mksysb and savevg archives of rootvg.
How can I restore this rootvg now because the AIX crashed during some software tests. There is no way to start from hdisk0 because most of the system files are deleted (this includes libc.a).
I tough it will be trivial... (6 Replies)
Discussion started by: +Yan
6 Replies
7. Shell Programming and Scripting
Hello,
I`m a complete newbie to coding, please help with this problem.
I have multiple files in a directory, I have to loop through the contents of each file and extract number of unique isoforms in that file. Each file is tab delimited and only the line with the first parent (column 3)... (1 Reply)
Discussion started by: ritakadm
1 Replies
8. UNIX for Dummies Questions & Answers
I am looking to write a script that will read the php.ini files on my web host. If the two lines do exist do nothing. If not append two lines to the end of it then move on to the next directory and open the next php.ini file.
I have the beginning of one that was given to me on another web site but... (6 Replies)
Discussion started by: Larrykh465
6 Replies
9. AIX
Seek help from all experts,
I understand that if I perform a savevg on a VG, and later perform a restvg to another hdisk, I will get back a exact same VG that I perform savevg earlier. It will be identical even on permission bit, owner and group.
However, if I perform a restorevgfiles for a... (3 Replies)
Discussion started by: kwliew999
3 Replies
10. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
LEARN ABOUT PHP
pspell_new
PSPELL_NEW(3) 1 PSPELL_NEW(3)
pspell_new - Load a new dictionary
SYNOPSIS
int pspell_new (string $language, [string $spelling], [string $jargon], [string $encoding], [int $mode])
DESCRIPTION
pspell_new(3) opens up a new dictionary and returns the dictionary link identifier for use in other pspell functions.
For more information and examples, check out inline manual pspell website:http://aspell.net/.
PARAMETERS
o $language
- The language parameter is 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 spelling parameter is the requested spelling for languages with more than one spelling such as English. Known values are
'american', 'british', and 'canadian'.
o $jargon
- The jargon parameter contains extra information to distinguish two different words lists that have the same language and spell-
ing parameters.
o $encoding
- The encoding parameter is 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'. This parameter is largely untested, so be careful when using.
o $mode
- The mode parameter is 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 on success or FALSE on failure.
EXAMPLES
Example #1
pspell_new(3)
<?php
$pspell_link = pspell_new("en", "", "", "",
(PSPELL_FAST|PSPELL_RUN_TOGETHER));
?>
PHP Documentation Group PSPELL_NEW(3)