Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

-- in <pre> code should not produce <del> #927

Closed
ghost opened this issue Jul 25, 2013 · 0 comments
Closed

-- in <pre> code should not produce <del> #927

ghost opened this issue Jul 25, 2013 · 0 comments

Comments

@ghost
Copy link

ghost commented Jul 25, 2013

Hi,

Running pandoc -f textile with this file produces this output:





  
  
  
  <title></title>
  <style type="text/css">code{white-space: pre;}</style>


find-duplicated-files

Features

  1. It consists of two programs: walk.go and see.py
  2. walk.go calculates the hash (sha256sum) of every file in an specific directory matching file pattern. It writes to JSON file
  3. see.py reads the contents of this JSON file and generates a custom HTML file
  4. see could reads several JSON files
  5. It reads hash, date of modification, size and permissions of each file
  6. It finds the files which has the same content, although their have different file names or are in different places.
  7. It ignores symlinks because it could contain recursively things from other places (you could calculate hash in the original directory)
  8. Dependencies: only Python 3 and Go programming language (1.0 or above)

Installation

  1. Copy walk.go and compile it
  2. Copy the file ‘see.py’.

Usage

  • See ‘./walk —help’:


$ ./walk —help
Usage of ./walk:
output=./output.json The JSON output file in which we save the results
path=./ Source of files
pattern=“": Pattern search expression of searching files

</pre>
</div>
See ‘./see.py —help’:
<div width=”200px“>
<pre>

$ ./see.py —help
usage: see.py [h] ]]
optional arguments:
h, —help show this help message and exit
—sources [SOURCES [SOURCES …]]
The JSON files in which we have hash values
—output OUTPUT The output html file in which we put the results

</pre>
</div>
h3. Example
For example, for searching jpg files i ‘foo’ and ‘bla’ directories, you could run:
<div width=”200px“>
<pre>

./walk path=foopattern=”*.jpg"output=output1.json
./walk path=blapattern=“*.jpg” -output=output2.json
./see —sources ./output1.json ./output2.json —output files.html

instead of one you could see in main project page. The issue is in -- within

 code.

Can you solve that?

Thanks,
Xan.

@jgm jgm closed this as completed in 85cc140 Jul 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants