head	1.1;
access;
symbols
	john2:1.1.2.1.0.4
	lapyu1:1.1.2.1.0.2
	john1:1.1.2.1
	lapyu-work:1.1.0.4
	john-work:1.1.0.2;
locks; strict;
comment	@# @;


1.1
date	2000.10.03.04.58.00;	author plaice;	state dead;
branches
	1.1.2.1
	1.1.4.1;
next	;

1.1.2.1
date	2000.10.03.04.58.00;	author plaice;	state Exp;
branches;
next	;

1.1.4.1
date	2000.10.03.05.48.58;	author lapyu;	state Exp;
branches;
next	;


desc
@@


1.1
log
@file fix-depend was initially added on branch john-work.
@
text
@@


1.1.4.1
log
@

This is the first commit of Lapyu Ho's work on producing an oxdvi
that is capable of interacting in a meaningful manner with emacs.
More documentation will be given later.
@
text
@a0 17
#!/bin/sh

(
  sed -e 's@@../../libs/[^ ]*@@@@g' \
      -e 's@@\([$()]\)@@\\\1@@g' \
      -e 's@@^\([^ ]\)@@echo; echo \\ \\ \1@@' |
  sh |
  fmt |
  grep -v '^$' |
  sed 's@@  \([^ ]*\):@@\1:@@' |
  awk '/:/ && last {print last};
       !/:/ {print last, "\\"};
       {last = $0};
       END {print last}'
) < depend.mk > depend.mk$$
rm -f depend.mk
mv depend.mk$$ depend.mk
@


1.1.2.1
log
@

oxdvik is no longer being maintained as a series of symbolic links to xdvik.
@
text
@a0 17
#!/bin/sh

(
  sed -e 's@@../../libs/[^ ]*@@@@g' \
      -e 's@@\([$()]\)@@\\\1@@g' \
      -e 's@@^\([^ ]\)@@echo; echo \\ \\ \1@@' |
  sh |
  fmt |
  grep -v '^$' |
  sed 's@@  \([^ ]*\):@@\1:@@' |
  awk '/:/ && last {print last};
       !/:/ {print last, "\\"};
       {last = $0};
       END {print last}'
) < depend.mk > depend.mk$$
rm -f depend.mk
mv depend.mk$$ depend.mk
@

