Sponsored Content
Top Forums Shell Programming and Scripting Spinning bar status while doing something. Post 302332003 by mrwatkin on Tuesday 7th of July 2009 10:49:31 PM
Old 07-07-2009
Doh!

Unfortunately, we're using ksh88. Any suggestions on what to do here?
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Couldn't open status file /var/samba/STATUS.LCK

I believe i have most of samba configured right but i get this error each time time try to run it. I was given suggestion that i touch the file, i did, but i still cannot rid myself of this error. Any suggestions (2 Replies)
Discussion started by: macdonto
2 Replies

2. Red Hat

Installing RedHat 8.0 onto Dell PowerEdge SC1425 - hdc: status error: status = 0x58

I have successfully installed RedHat 8.0 onto a Dell PowerEdge SC1425 today. This server has two SATA hard drives, and an IDE DVD-ROM drive. Using the following kernel parameters, i successfully installed across both hard drives from CD: ide0=0x1f0,0x3f6,14 vga=791 resolution=1024x768 expert... (5 Replies)
Discussion started by: fishsponge
5 Replies

3. Shell Programming and Scripting

Display spinning cursor while waiting

Hi All, I have a script, very basic, that checks the the intergrity of tar files. Of course, with a huge amount of files, this might take a while. So I'd like to have the script display the spinning cursor while this happens. I'm just not sure how to go about scripting this under ksh. Can... (6 Replies)
Discussion started by: kelldan
6 Replies

4. Solaris

Custom Spinning Your own Open solaris

I was wondering, If it is at all possible to spin my own custom opensolrais boot disc? The reason i ask is becausrwe i am running Open Solaris on a AMD 64 bit based system and neet flash and MPeg support right out of the box. A prompt answer Is much appreciated. (1 Reply)
Discussion started by: FloridaBSD
1 Replies

5. Shell Programming and Scripting

status bar in shell script or perl

How To Generate different different progress bar in shell script? like we install some software it show us progress, like we install RPM that also show us progress. Thanks, Bash (2 Replies)
Discussion started by: learnbash
2 Replies

6. Shell Programming and Scripting

Replace space and vertical bar with verical bar

I am trying to get sed, tr or awk to search a file that contains records with fields delimited by the vertical bar | and replace the occurrences in the records where the vertical bar is preceded by a space " |" with a vertical bar. Sample data record zelli |||59 Stonewall Dr ||W Barnstable |MA... (2 Replies)
Discussion started by: clintrpeterson
2 Replies

7. Ubuntu

Why icon in status bar is disabled?

Below the list of command to explain the status michelangeli@hp:~$ lspci -nn | grep -i net 02:00.0 Ethernet controller : Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 03) 04:00.0 Network controller : Ralink corp. RT2790 Wireless 802.11n 1T/2R... (6 Replies)
Discussion started by: michelangeli
6 Replies

8. AIX

IBM P730 running AIX 7.1 (8231-E2B) - Fans spinning loud/max rpm?

We have a IBM P730 machine running AIX 7.1 in a properly air cooled server room. Just recently the fans on the unit kicked into overdrive, they are very loud and spinning at max. Typically this happens when the server first boots then they normalize. However for some odd reason, they sound... (2 Replies)
Discussion started by: c3rb3rus
2 Replies

9. Programming

How to track table status delete/update/insert status in DB2 V10 z/os?

Dear Team I am using DB2 v10 z/os database . Need expert guidance to figure out best way to track table activities ( Ex Delete, Insert,Update ) Scenario We have a table which is critical and many developer/testing team access on daily basis . We had instance where some deleted... (1 Reply)
Discussion started by: Perlbaby
1 Replies

10. UNIX for Beginners Questions & Answers

Ncurses status bar

Hi, all, I'm writing a BBS telnet client, and am trying to implement a status bar into it, at the bottom of the screen. I am using NCurses to accomplish this. So far, it appears to be working, that is, upon connecting to BBS, it will display the status bar, and then quickly disappear. ... (5 Replies)
Discussion started by: ignatius
5 Replies
Hunspell(3pm)						User Contributed Perl Documentation					     Hunspell(3pm)

NAME
Text::Hunspell - Perl interface to the GNU Hunspell library SYNOPSIS
# For this example to work, you have to have # the US english dictionary installed! use strict; use warnings; use Data::Dumper (); use Text::Hunspell; # You can use relative or absolute paths. my $speller = Text::Hunspell->new( "/usr/share/hunspell/en_US.aff", # Hunspell affix file "/usr/share/hunspell/en_US.dic" # Hunspell dictionary file ); die unless $speller; # Check a word against the dictionary my $word = 'opera'; print $speller->check($word) ? "'$word' found in the dictionary " : "'$word' not found in the dictionary! "; # Spell check suggestions my $misspelled = 'programmng'; my @suggestions = $speller->suggest($misspelled); print " ", "You typed '$misspelled'. Did you mean? "; for (@suggestions) { print " - $_ "; } # Analysis of a word $word = 'automatic'; my $analysis = $speller->analyze($word); print " ", "Analysis of '$word' returns '$analysis' "; # Word stemming $word = 'development'; my @stemming = $speller->stem($word); print " ", "Stemming of '$word' returns: "; for (@stemming) { print " - $_ "; } #------------------------------------------ # ADVANCED STUFF FROM HERE # NOT SURE HOW IT SHOULD WORK #------------------------------------------ # # Test here generator for morphological modification (NOM->ACC) # $word = 'developer'; my $stem = 'computer'; @suggestions = $speller->analyze($stem); # Modify analyze output for required class (ACC) for (@suggestions) { s/NOM/ACC/g; } # Generate ACC class of stem @suggestions = $speller->generate2($stem, @suggestions); print "Morphological modification generator... "; print Data::Dumper::Dumper(@suggestions); # # Test generator for morphological modification, # modify $stem like $word # @suggestions = $speller->generate($stem, $word); print "Morphological modification generator... "; print Data::Dumper::Dumper(@suggestions); # Deletes the underlying Hunspell C/C++ object $speller->delete($speller); DESCRIPTION
This module provides a Perl interface to the OO Hunspell library. This module is to meet the need of looking up many words, one at a time, in a single session, such as spell-checking a document in memory. The example code describes the interface on http://hunspell.sf.net DEPENDENCIES
You MUST have installed GNU Hunspell library version 1.0 or higher on your system before installing this "Text::Hunspell" Perl module. Hunspell location is: http://hunspell.sf.net There have been a number of bug reports because people failed to install hunspell before installing this module. This is an interface to the hunspell library installed on your system, not a replacement for hunspell. You must also have one hunspell dictionary installed when running the module's test suite. Also, please see the README and Changes files. README may have specific information about your platform. METHODS
The following methods are available: "Text::Hunspell-"new($full_path_to_affix, $full_path_to_dic)> Creates a new speller object. Parameters are: full path of affix file full path of dictionary (dic) file Returns "undef" if the object could not be created, which is unlikely. "check($word)" Check the word. Returns 1 if the word is found, 0 otherwise. "suggest($misspelled_word)" Returns the list of suggestions for the misspelled word. "analyze($word)" Returns the analysis list for the word. TODO HOW? What does it return?? See the examples in the examples/ folder for now. "stem($word)" Returns the stem list for the word. "generate2($stem, @suggestions)" Returns a morphologically modified stem as defined in @suggestions (got by analysis). TODO Explain ... "generate($stem, $word)" Returns morphologically modified stem like $word. TODO WHY IS THIS DIFFERENT FROM generate2() ??? EXPLAIN. "$speller-"delete($speller)> Deletes the speller class. TODO WHY IS THIS NEEDED?? Called on $speller and needs $speller ??? BUGS
Probably. Yes, definitely. COPYRIGHT
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. AUTHORS
Eleonora, E<lt>eleonora46_at_gmx_dot_netE<gt> Current maintainer is: Cosimo Streppone, E<lt>cosimo@cpan.orgE<gt> This module is based on a Text::Aspell written by Bill Moseley moseley at hank dot org. Hunspell is written as myspell by Kevin B. Hendricks. Hunspell is maintained by Nemeth Laszlo. Please see: http://hunspell.sf.net For the dictionaries: http://lingucomponent.openoffice.org/spell_dic.html http://magyarispell.sf.net for Hungarian dictionary perl v5.14.2 2012-06-07 Hunspell(3pm)
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy