9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hi,
i need to replace all words in any quote position and then need to change the words inside the file thousand of raw.
textfile data :
"Ninguno","Confirma","JuicioABC"
"JuicioCOMP","Recurso","JuicioABC"
"JuicioDELL","Nulidad","Nosino"
"Solidade","JuicioEUR","Segundo"
need... (1 Reply)
Discussion started by: benjietambling
1 Replies
2. Shell Programming and Scripting
Hi I have a file passwd_exmpl that contains:
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync... (5 Replies)
Discussion started by: eladage
5 Replies
3. Shell Programming and Scripting
Hi
I have strings like these :
Vengeance mitt
Men Vengeance gloves
Women Quatro Windstopper Etip gloves
Quatro Windstopper Etip gloves
Girls Thermobite hooded jacket
Thermobite Triclimate snow jacket
Boys Thermobite Triclimate snow jacket
and I would like to get the lower case words at... (2 Replies)
Discussion started by: louisJ
2 Replies
4. Shell Programming and Scripting
Hi,
I have written the following python snippet to store the capital letter starting words into a dictionary as key and no of its appearances as a value in this dictionary against the key.
#!/usr/bin/env python
import sys
import re
hash = {} # initialize an empty dictinonary
for line in... (1 Reply)
Discussion started by: royalibrahim
1 Replies
5. Shell Programming and Scripting
Hi,
Need your help for this scripting issue I have. I am not really good at this, so seeking your help.
I have a file looking similar to this:
Hello, i am human and name=ABCD.
How are you?
Hello, i am human and name=PQRS.
I am good.
Hello, i am human and name=ABCD.
Good bye.
Hello, i... (12 Replies)
Discussion started by: royzlife
12 Replies
6. Shell Programming and Scripting
I need to use bash to convert sentences where all words start with a small letter into one where all words start with a capital letter.
So that a string like:
are utilities ready for hurricane sandy
becomes:
Are Utilities Ready For Hurricane Sandy (10 Replies)
Discussion started by: locoroco
10 Replies
7. Shell Programming and Scripting
Hi
I'd like to extract from a text file, using gawk, the groups of words beginning with a capital letter, that are not at the begining of a sentence (i.e. Not after a full stop and a pace ". "), including special characters like registered or trademark (® or ™ ).
For example I would like to... (1 Reply)
Discussion started by: louisJ
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I just want to search a file for any words containng a capital letter and then display a list of just these words!
I have been trying grep but to no has not helped.(im using the bash shell) (1 Reply)
Discussion started by: djdaniel3
1 Replies
9. Shell Programming and Scripting
Hi,
I want to be able to list all the names in a file which begin with a capital letter, but I don't want it to list words that begin a new sentence. Is there any way round this?
Thanks for your help. (1 Reply)
Discussion started by: kev269
1 Replies
SDCV(1) General Commands Manual SDCV(1)
NAME
sdcv - console version of StarDict program
SYNOPSIS
sdcv [ options ] [list of words]
DESCRIPTION
sdcv is simple, cross-platform text-base utility for work with dictionaries in StarDict's format. The word from "list of words" may be
string with leading '/' for using Fuzzy search algorithm, with leading '|' for using full-text search, string may contain '?' and '*' for
using regexp search. It work in interactive and not interactive mode. To exit from interactive mode press Ctrl+D. In interactive mode,
if sdcv was compiled with readline library support, you can use UP and DOWN keys to work through history.
OPTIONS
-h --help
display help message and exit
-v --verbose
display version and exit
-l --list-dicts
display list of available dictionaries and exit
-u --use-dict filename
for search use only dictionary with this bookname
-n --non-interactive
for use in scripts
--utf8-output
Force sdcv not use conversation to locale charset, output in utf8
--utf8-input
Force sdcv not use conversation from locale charset, suppose that input in utf8
--data-dir path/to/directory
Use this directory as path to stardict data directory. This is mean that sdcv search dictionaries in data-dir/dic directory.
FILES
/usr/share/stardict/dic
$(HOME)/.stardict/dic
Place, where sdcv expect to find dictionaries. Instead of /usr/share/stardict/dic you can use everything that you want, just set
STARDICT_DATA_DIR environment variable. For example, if you have dictionaries in /mnt/data/stardict-dicts/dic, set STAR-
DICT_DATA_DIR to /mnt/data/stardict-dicts.
$(HOME)/.sdcv_history
This file include last $(SDCV_HISTSIZE) words, which you seek with sdcv. SDCV use this file only if it was compiled with readline
library support.
ENVIRONMENT
Environment Variables Used By sdcv:
STARDICT_DATA_DIR If set, sdcv use this variable as data directory, this is mean that sdcv search dictionaries in $STARDICT_DATA_DIRdic
SDCV_HISTSIZE If set, sdcv wrote in $(HOME)/.sdcv_history only last $(SDCV_HISTSIZE) words, which you seek using sdcv. If it is not
set, then last 2000 words saved in $(HOME)/.sdcv_history.
SDCV_PAGER If SDCV_PAGER is set, its value is used as the name of the program to use to display the dictionary's article.
BUGS
Email bug reports to dushistov at mail dot ru. Be sure to include the word "sdcv" somewhere in the "Subject:" field.
AUTHORS
Evgeniy A. Dushistov, Hu Zheng
SEE ALSO
stardict(1), http://sdcv.sourceforge.net/, http://stardict.sourceforge.net
sdcv-0.4.2 2006-04-24 SDCV(1)