Hi. I want to remove a substring from a string. If I use the "tr" command, it doesn't seem to to what I want it to:
echo './somestring.dat' | tr -d './'
results in
somestringdat
I want it to remove only occurances of the string './', rather than the individual character. The result... (1 Reply)
Hi all -
I'm trying to rename a large number of files all at once and need some help figuring out the command line syntax to do it. I've already done quite a bit of research with the rename and mv commands, but so far haven't found a solution that seems to work for me. So:
The files exist... (10 Replies)
Please assist with awk scirpts:
I need to remove items from a file in a batch:
The file that I will remove from has the following format:
abc00tef:10.81.12.3
abc01tef:10.81.12.3
abc02tef:10.81.12.3
abc03tef:10.81.12.3
abc04tef:10.81.12.3
abc05tef:10.81.12.3
I have a file which... (5 Replies)
hi all,
given a path, for example :
/<pwd>/artist/album/
what i would like to do is to rename the album directory like that :
/<pwd>/artist/artist | album/
and i would like to do the latter for all the "artist" directories
and for all the "album" directories that belong to an artist
... (4 Replies)
Hello all, thanks for your time (and this forum, what an awesome resource for newbs like myself!)
Anyways, I've been given the task of importing content from a directory of about...7000 HTML files. They are all named appropriately and broken down by name depending on what book they belong too.... (8 Replies)
hi i have a folder full of files. some of the names are quite off because the dimensions were the same and i had to put a 'b' after the initial number so that it didnt overwrite. what i want is a script in unix to overwrite the filwe name leaving some of the title intact, e.g. below are some... (3 Replies)
Hi all,
Wondering how this could be accomplished........
a directory contains sequentially numbered files from fw01 to fw999.
How would I insert an additional zero so that the directory lists these files in a proper manner?
(i.e. all double digit files from fw01 to fw99 would become... (3 Replies)
I have some 50+ files in the following format :
abcd_vish_running_ZEBRA_20140818.dat_08-14-2014_23:08:23
abcd_vish_running_ZEB-RA_20140818.dat_08-14-2014_23:08:35
abcd_vish_running_ZEB_RA_20140818.dat_08-14-2014_23:08:37
abcd_vish_running_RI-NG_20140818.dat_08-14-2014_23:08:42... (5 Replies)
Hi guys,
I need a script to change the file names e.g.:-
below are the mentioned files, i want t0 change the last character of the name 00000.cdr with e.g bep01.smsc.191214210500-00000.cdr to bep01.smsc.191214210500-92311.cdr next file be like bep01.smsc.191214210500-92312.cdr
# ls -ltr... (9 Replies)
What is wrong with this script to rename batch of similar files? For example renaming all *.txt files to *.tab .
$ for i in seq {01..10}; do touch ${i}.txt; done
$ ./rename.sh *.txt txt tab
Error:
mv: ‘01.txt’ and ‘01.txt’ are the same file.
Code is:
#!/usr/bin/bash
# renames.sh
#... (6 Replies)
Discussion started by: yifangt
6 Replies
LEARN ABOUT DEBIAN
fmtutil.cnf
fmtutil.cnf(5) teTeX fmtutil.cnf(5)NAME
fmtutil.cnf - configuration file for fmtutil
DESCRIPTION
The fmtutil.cnf file contains the configuration information for fmtutil(8). Each line contains the name of the format (e.g., ``tex'',
``latex'', ``omega''), the name of the engine that is used by that format (e.g., ``tex'', ``etex'', ``omega''), the pattern file (e.g.,
language.dat, language.def), and any arguments (name of an .ini file).
Fields are separated by whitespace and complete lines can be commented out with ``#''. The ``pattern file'' field cannot be used to define
a file that is used while building the format. It tells fmtutil which files (separated by commas) the format creation procedure reads and
it has an effect to the options --showhyphen and --byhyphen. If the format has no way to customize hyphenation, a ``-'' can be used to
indicate this.
NOTES
The tex(1) and amstex(1) formats always load hyphen.tex. No customization by a pattern file is available for these formats. Therefore, the
pattern-file field for the tex and amstex is usually indicated to be empty (``-'').
You can, however, build customized formats on top of plain tex(1) or amstex(1) by using bplain.tex instead of plain.tex (b for the Babel
system). See, for example, the bplain.ini file for the bplain format).
etex(1) loads language.def, not language.dat.
Symbolic links to the correct engines (e.g., bplain -> tex) are generated by the texlinks(8) script. Remember to run texlinks(8) if you
run fmtutil(8) yourself, rather than using the FORMATS option in texconfig(8).
FILES
fmtutil.cnf
default configuration file
language.dat
hyphenation pattern file
language.def
hyphenation pattern file
language.dat.lua
hyphenation pattern file
SEE ALSO amstex(1), etex(1), fmtutil(8), tex(1), texconfig(8), texlinks(8).
Web page: <http://tug.org/teTeX/>
BUGS
None known, but report any bugs found to <tetex@dbs.uni-hannover.de> (mailing list).
AUTHOR
fmtutil.cnf was written by Thomas Esser <te@dbs.uni-hannover.de>, and is Copyright 1998, 1999 but released into the public domain.
This manual page was written by C.M. Connelly <c@eskimo.com>, for the Debian GNU/Linux system. It may be used by other distributions with-
out contacting the author. Any mistakes or omissions in the manual page are my fault; inquiries about or corrections to this manual page
should be directed to me (and not to the primary author).
teTeX October 2000 fmtutil.cnf(5)