Hi all,
I have a bunch of files that are named like 12543, 467249877, etc all over some directories.These files are named only with numbers, they dont have any letters or special characters in their file names. Could you please help me out and give me some command/script to remove only those... (6 Replies)
Hi Guru's,
Before writing to this forum I have searched extensively on this forum about my problem.
I have to write a shell script which takes out only those file names from the given directory which contains only numbers. For example, In the given directory these files are present:
... (0 Replies)
Hi Guru's,
Before writing to this forum I have searched extensively on this forum about my problem.
I have to write a shell script which takes out only those file names from the given directory which contains only numbers. For example, In the given directory these files are present:
... (4 Replies)
Hi all.
I have a directory which contains files that can be versioned. All the files are named according to a pattern like this:
TEXTSTRING1-001.EXTENSION
TEXTSTRING2-001.EXTENSION
TEXTSTRING3-001.EXTENSION
...
TEXTSTRINGn-001.EXTENSION
If a file is versioned, a file called
... (10 Replies)
Hi there,
Firstly, I have no experience with shell scripts so would really appreciate some help.
I have the following shell script that is causing some problems:
moveit()
{
&& set -x
if
then
DOUBLE_DELIVERY=$(grep... (6 Replies)
I'm currently working on a script that extracts files from a .zip, runs an sha1sum against them and then uses awk to pre-format them into zomething more readable thusly:
Z 69 89e013b0d8aa2f9a79fcec4f2d71c6a469222c07 File1
Z 69 6c3aea28ce22b495e68e022a1578204a9de908ed File2
Z 69... (5 Replies)
OS : RHEL 6.1
Shell : Bash
I have lots of files in /tmp/stage directory as show below.
Using a loop, I need to print all the filenames in this directory except those ending with a number. How can I do this ?
# pwd
/tmp/stage
#
#
# ls -l *
-rw-r--r--. 1 root root 0 Oct 7 18:38 stmt1... (2 Replies)
I was thinking something like this but it always gets rid of the file location.
grep -roh base. | wc -l
find . -type f -exec grep -o base {} \; | wc -l
Would this be a job for awk? Would I need to store the file locations in an array? (3 Replies)
I have a python script that gives output called test.png. By using the following command I run the script every 2 seconds. What is the easiest way to save the output as follows ( test.png (1st output), tes1.png (second output), tes2.png ....)
Command I i use
while sleep 2; do python... (1 Reply)
Discussion started by: quincyjones
1 Replies
LEARN ABOUT DEBIAN
voikkogc
VOIKKOGC(1) General Commands Manual VOIKKOGC(1)NAME
voikkogc - test program for Voikko grammar checker
SYNOPSIS
voikkogc [options]
DESCRIPTION
voikkogc is a test program for grammar checking functionality in libvoikko, library of Finnish language tools. It reads sentences or para-
graphs from stdin (one per line) and print the results to stdout. The results are structures containing information about grammar errors
found in the input paragraph.
OPTIONS --tokenize
Instead of looking for grammar errors, split input into tokens. The tokens are prefixed by type: "W" is a word, "P" is punctuation,
"S" is whitespace, "U" is unknown and "E" is a prefix for error messages.
--split-sentences
Instead of looking for grammar errors, split input into sentences. The sentences are prefixed by type: "B" means that end of sen-
tence is a probably correct, "P" means that end of sentence is a possibly correct (but probably this and the next identified sen-
tence should be joined) and "E" means that sentence ends at the end of input.
-n Prefix all grammar checker messages with line number of input data.
accept_titles=n
accept_unfinished_paragraphs=n
accept_bulleted_lists=n
Set the value of the specified boolean option.
explanation_language=langcode
Print human readable error explanation in the specified language.
BUGS
Human readable error explanations are printed in UTF-8 regardless of current locale settings.
SEE ALSO
voikkospell for common options of different Voikko test tools.
AUTHOR
voikkogc and this manual page were written by Harri Pitkanen (hatapitk@iki.fi).
2010-05-06 VOIKKOGC(1)