On 07 Sep 2009, at 21:21, Rafael Cunha de Almeida wrote:
Johan Jeuring wrote:
Palindromes
==============================================
Palindromes is a package for finding palindromes in files.
Visit the homepage
http://www.jeuring.net/Palindromes/
A few options are not working well:
Thanks. Both errors have been corrected in version 0.1.1.
And I moved it from category Algorithm to category Algorithms.
-- Johan
$ ./palindromes --h
*********************
* Palindrome Finder *
*********************
palindromes: --h: openFile: does not exist (No such file or directory)
$ cat f
socorram-me subi no onibus em marrocos
$ ./palindromes -tl f
*********************
* Palindrome Finder *
*********************
Usage:
palindrome [command-line-options] input-file
The following options are available:
--h: This message
-p : Print the longest palindrome (default)
-ps: Print the longest palindrome around each position in the input
-l : Print the length of the longest palindrome
-ls: Print the length of the longest palindrome around each position
in the input
-t : Print the longest palindrome ignoring case, spacing and
punctuation
-tl: Print the length of the longest text palindrome
$
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe