hyphen(1) General Commands Manual hyphen(1)NAME
hyphen - find hyphenated words
SYNOPSIS
[files]
DESCRIPTION
finds all the hyphenated words ending lines in files and prints them on the standard output. If no arguments are given, the standard input
is used; thus, can be used as a filter.
EXAMPLES
Prepare an hyphenation proofreading file for textfile.
WARNINGS
cannot cope with hyphenated italics (i.e., underlined) words; it often misses them completely or mangles them.
occasionally gets confused, but with no ill effects other than spurious extra output.
SEE ALSO mm(1), nroff(1).
hyphen(1)
Check Out this Related Man Page
PATGEN(1) General Commands Manual PATGEN(1)NAME
patgen - generate patterns for TeX hyphenation
SYNOPSIS
patgen dictionary_file pattern_file log_file translate_file
DESCRIPTION
This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual
Web2C: A TeX implementation.
The patgen program reads the dictionary_file and produces the pattern_file, writing a transcript of its actions on the log_file. The dic-
tionary_file should contain a list of hyphenated words and previously-generated patterns.
The patterns thus generated can be read by initex for use in hyphenating words. For a (very) long example of patgen's output, see $TEXMF-
MAIN/generic/hyphen/hyphen.tex, which contains the patterns TeX uses for English. At some sites, patterns for several other languages may
be available, and the local tex programs may have them preloaded; consult your Local Guide or your system administrator for details.
All filenames must be complete; no adding of default extensions or path searching is done.
FILES
$TEXMFMAIN/generic/hyphen/hyphen.tex
Patterns for English.
SEE ALSO
Frank Liang, Word hy-phen-a-tion by com-puter, STAN-CS-83-977, Stanford University Ph.D. thesis, 1983.
Donald E. Knuth, The TeXbook, Addison-Wesley, 1986, ISBN 0-201-13447-0, Appendix H.
AUTHORS
Frank Liang wrote the first version of this program. Peter Breitenlohner made a substantial revision in 1991 for TeX 3. The first version
was published as the appendix to the TeXware technical report, available from the TeX Users Group. Howard Trickey originally ported it to
Unix.
Web2C 7.3.1 27 December 1992 PATGEN(1)
I have a text file like this with hundreds of lines:
>cat file1.txt
1027123000
1027124000
1127125000
1128140000
1228143000
>
all lines are very similar and have exactly 10 digits. I want to separate the digits by twodigit and hyphens....like so,
>
10-27-12-30-00
10-27-12-40-00... (7 Replies)
Hi All,
I am not able to create any file name start with "-" hyphen. Any logical issue with these types of files creation in Solaris.
==============================
bash-3.00$ touch -file.txt
touch: illegal option -- i
usage: touch file...
touch ] file...
touch ... (5 Replies)
Hi, I'm trying to do something relatively simple.
I have a txt file that has the following kinds of lines (and many more lines):
CP19 Oahu - Maunawili Falls
CP20 Oahu - Maunawili Falls
AG12 Oahu - Maunawili Falls
CP22 Oahu - Maunawili Falls, Local area
AG14 Oahu
CP141 KZ102 Kauai -... (7 Replies)
Hi,
This is my first post.It has two parts
first part:
I want to match a line that starts with whitespace tab or similar followed by
must start with specific word and not match same word start with hyphen
like this:
grep height file1:
height: 150px;
line-height: 1.5em;
height:... (4 Replies)
I have searched throught a host of threads to figure out how to rename mutiple files at once using a script.
I need to convert 200+ files from:
fKITLS_120605-0002-00001-000001.hdr to eStroop_001.hdr
fKITLS_120605-0002-00002-000002.hdr to eStroop_002.hdr
and so forth....
What is... (5 Replies)
Hi
I'm trying to create an array with variable including hyphen
but ksh refuses the first element
set -A allArgs
set +A allArgs ${allArgs} -all
set +A allArgs ${allArgs} -date
set +A allArgs ${allArgs} test
./test.ksh: -all: bad option(s)
It happens only when first element is like... (4 Replies)
Hello everyone!
Filenames with hyphens instead of everything else that can be as a space - is it particularly UNIX style of naming or a general practice? It kinda is so in my mind that DOS guys use underscores as spaces and UNIX guys use dashes. Is it so? (5 Replies)
Hi.
I'm trying to install VMWare Workstation to run a virtual machine on my Mac OS, but running the bundle from bash(xterm)
sh VMware-workstation-Full-11.0.0-2305329.x86_64.bundle
(as suggested in install guide)
comes up with error:stat: illegal option -- -
usage: stat
Digging... (5 Replies)
Hi,
I want to read a file line by line and exclude the lines that are beginning with special characters. The below code is working fine except when the line starts with hyphen (-) in the file.
for TEST in `cat $FILE | grep -E -v '#|/+' | awk '{FS=":"}NF > 0{print $1}'`
do
.
.
done
How... (4 Replies)
once again I need a hint how to operate a dot and a hyphen.
my aim is to use
echo $RANDOM$RANDOM$RANDOMgiving me a bunge of numbers. I need to seperate them into yyy.xxx.zzz-tt
sed i\.makes a dot in front of the output. Before that I tried something likejot -r -n 8 0 9 | rs -q 0or even more... (6 Replies)
Hey guys,
I have a file that is delimited by | and I am trying to write a sed command to
convert this:
abc|def||ghi|jkl||||mnop
into this:
abc|def|-|ghi|jkl|-|-|-|mnop
The output I am getting out of:
sed -e "s/+//g" /tmp/opt.del > /tmp/opt2.del
is like:
... (9 Replies)
I asked this question last month in Stack Exchange (linux - delete directory with leading hyphen - Server Fault) and none of the answers supplied worked.
I have somehow created a directory with a leading hyphen and cannot get rid of it.
# ls -li | grep p
2621441 drwxr-xr-x. 2 root root... (4 Replies)
Dear all,
I have a database of compound words. I want to retain only strings with a single hyphen and identify those strings which have more than one hyphen. I am giving an example below
test-test
test-test-test
test-test-test-test-test
good-for-nothing
The regex/script should remove all... (11 Replies)
Dear Community;
I need to join two files but I am facing issues.
1st file has multiple columns. Primary (1st) columns has unique values. There are other columns out of which some has non-ascii characters as well (other language).
Example File below:
1-1001JRL,BiRecurring... (5 Replies)