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 ULTRIX
style
style(1) General Commands Manual style(1)Name
style - analyze surface characteristics of a document
Syntax
style [-ml] [-mm] [-a] [-e] [-l num] [-r num] [-p] [-P] file...
Description
The command analyzes the surface characteristics of the writing style of a document. It reports on readability, sentence length and struc-
ture, word length and usage, verb type, and sentence openers. Because runs before looking at the text, formatting header files should be
included as part of the input. The default macro package -ms may be overridden with the flag -mm. The flag -ml, which causes to skip
lists, should be used if the document contains many lists of non-sentences. The other options are used to locate sentences with certain
characteristics.
Options-a Displays all sentences with their length and readability index.
-e Displays all sentences that begin with an expletive.
-l num
Displays all sentences longer than num.
-ml
Skips lists in document.
-mm
Overrides the default macro package -ms.
-P Displays parts of speech of the words in the document.
-p Displays all sentences that contain a passive verb.
-r num
Displays all sentences whose readability index is greater than num.
Restrictions
Use of non-standard formatting macros may cause incorrect sentence breaks.
See Alsoderoff(1), diction(1)style(1)