10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How to get a file 'zlib.h' in an entire directory with an excluded directory specified lives under that starting directory by using find command, as it failed on:
$ find . -name 'zlib.h' -a -ipath 'CHROME.TMP' -prune -o -print
it'll just list entirely up (2 Replies)
Discussion started by: abdulbadii
2 Replies
2. Shell Programming and Scripting
hi, I need to know if a specific directory exists in a folder named after the date of yesterday (02/06/2015)
The problem is simple but not how to do it. :confused:i= date -d "yesterday" '%Y-%m-%d' <- the format of directory is 2015-06-02
if in /var/logroot/index exist directory whit... (4 Replies)
Discussion started by: tmeto
4 Replies
3. Shell Programming and Scripting
Given this file (I separated them in block to make my explanation clearer):
92157768877;Sof_deme_Fort_Email_am_%yyyy%%mm%%dd%;EMAIL;20/02/2015;1;0;0
92157768877;Sof_trav_Fort_Email_am_%yyyy%%mm%%dd%;EMAIL;20/02/2015;1;0;0
91231838895;Sof_deme_faible_Email_am;EMAIL;26/01/2015;1 0;0... (1 Reply)
Discussion started by: Andy_K
1 Replies
4. Programming
Hi, I have 2 different values in the same column and two different values in other column
Query 1
ins name value
1 Test 12345
1 TestV1 12/10/2014
8 Test 85435
8 TestV1 11/11/2005
9 Test 42232
9 TestV1 19/10/2000
6 Test 54321... (6 Replies)
Discussion started by: faka
6 Replies
5. Shell Programming and Scripting
I only want to find files under each branch of the directory tree inside directories named XYZ and there are multiple XYZ directories? (7 Replies)
Discussion started by: emc^24sho
7 Replies
6. Shell Programming and Scripting
Hello to all,
I would like to search sequences of bytes inside big binary file.
The bin file contains blocks of information, each block begins is estructured as follow:
1- Each block begins with the hex 32 (1 byte) and ends with FF. After the FF of the last block, it follows 33.
2- Next... (59 Replies)
Discussion started by: Ophiuchus
59 Replies
7. Shell Programming and Scripting
How to compare new version exist of two path directory.
for e.g., path1 - /user/path/test/
path2 - /user/path/score/
If its exist new version then copy that new version into the first path directroy. How will do this. (3 Replies)
Discussion started by: roy1912
3 Replies
8. Shell Programming and Scripting
#!/bin/bash
for i in `ls -c1 /usr/share/applications`
do
#name=`cat /usr/share/applications/$i | grep ^Name= | cut -d = -f2`
#categories=`cat /usr/share/applications/$i | grep ^Categories= | sed 's/;/=/g' | cut -d = -f2`
name=$(grep ^Name= /usr/share/applications/$i | cut -d = -f2)... (12 Replies)
Discussion started by: alexscript
12 Replies
9. Shell Programming and Scripting
Hi
I am Trying to Write a script that can goto 4 different directorys on the server & remove the Files older then 30 days ??
/logs
logs1 logs2 logs3
Now I need to remove files under
logs1 logs2 logs3 which are older then 30 days whose name stat 'sit' , 'mig','bld' .
in... (3 Replies)
Discussion started by: Beginner123
3 Replies
10. Shell Programming and Scripting
Hello,
I am looking for a script, or pointer to an approach to creating a script, that will compare two versions of a codebase and output a third directory structure containing only the files that differ between the two. I use diff quite often, but it will only create patch files (AFAIK). Does... (3 Replies)
Discussion started by: jwilliams108
3 Replies
LATEXDIFF-VC(1) User Contributed Perl Documentation LATEXDIFF-VC(1)
NAME
latexdiff-vc - wrapper script that calls latexdiff for different versions of a file under version management (CVS, RCS or SVN)
SYNOPSIS
latexdiff-vc [ latexdiff-options ] [ latexdiff-vc-options ] -r [rev1] [-r rev2] file1.tex [ file2.tex ...]
or
latexdiff-vc [ latexdiff-options ] [ latexdiff-vc-options ][ --postscript | --pdf ] old.tex new.tex
DESCRIPTION
latexdiff-vc is a wrapper script that applies latexdiff to a file, or multiple files under version control (CVS or RCS), and optionally
runs the sequence of "latex" and "dvips" or "pdflatex" commands necessary to produce pdf or postscript output of the difference tex
file(s). It can also be applied to a pair of files to automatise the generation of difference file in postscript or pdf format.
OPTIONS
--rcs, --svn, or --cvs
Set the version system. If no version system is specified, latexdiff-vc will venture a guess.
latexdiff-cvs and latexdiff-rcs are variants of latexdiff-vc which default to the respective versioning system. However, this default
can still be overridden using the options above.
-r, -r rev or --revision, --revision=rev
Choose revision (under RCS, CVS or SVN). One or two -r options can be specified, and the resulting in different behaviour:
latexdiff-vc -r file.tex ...
compares file.tex with the most recent version checked into RCS.
latexdiff-vc -r rev1 file.tex ...
compares file.tex with revision rev1.
latexdiff-vc -r rev1 -r rev2 file.tex ...
compares revisions rev1 and rev2 of file.tex.
Multiple files can be specified for all of the above options. All files must have the extension ".tex", though.
latexdiff-vc old.tex new.tex
compares two files.
The name of the difference file is generated automatically and reported to stdout.
-d or --dir -d path or --dir=path
Rather than appending the string "diff" and optionally the version numbers given to the output-file, this will prepend a directory name
"diff" to the original filename, creating the directory and subdirectories should they not exist already. This is particularly useful
in order to clone a complete directory hierarchy. Optionally, a pathname path can be specified, which is prepended instead of "diff".
--ps or --postscript
Generate postscript output from difference file. This will run the sequence "latex; latex; dvips" on the difference file (do not use
this option in the rare cases, where three "latex" commands are required if you care about correct referencing). If the difference
file contains a "ibliography" tag, run the sequence "latex; bibtex; latex; latex; dvips".
--pdf
Generate pdf output from difference file using "pdflatex". This will run the sequence "pdflatex; pdflatex" on the difference file, or
"pdflatex; bibtex; pdflatex; pdflatex" for files requiring bibtex.
--force
Overwrite existing diff files without asking for confirmation. Default behaviour is to ask for confirmation before overwriting an
existing difference file.
--help or -h
Show help text
--version
Show version number
All other options are passed on to "latexdiff".
SEE ALSO
latexdiff
PORTABILITY
latexdiff-vc uses external commands and is therefore limited to Unix-like systems. It also requires the RCS version control system and
latex to be installed on the system. Modules from Perl 5.8 or higher are required.
AUTHOR
Copyright (C) 2005 Frederik Tilmann
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2
Contributors: S Utcke, H Bruyninckx
perl v5.14.2 2007-09-29 LATEXDIFF-VC(1)