File: update_wiki_manpages

package info (click to toggle)
owfs 3.2p4%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 8,144 kB
  • sloc: ansic: 66,801; pascal: 5,957; tcl: 2,688; makefile: 1,348; python: 1,114; sh: 715; cs: 623; php: 600; perl: 587; java: 404; ruby: 289; cpp: 105; asm: 102; xml: 53
file content (7 lines) | stat: -rwxr-xr-x 172 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
#!/bin/sh
OWFS_BASE=$(pwd)
cd src/man
find -name '*.man' | while read
do
	soelim -r $REPLY | $OWFS_BASE/man2md >$OWFS_BASE/../owfs-doc.wiki/$(basename $REPLY .man).md
done