home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1994 March / Source_Code_CD-ROM_Walnut_Creek_March_1994.iso / compsrcs / unix / volume26 / setdpch.1 < prev    next >
Encoding:
Text File  |  1992-04-18  |  3.3 KB  |  107 lines

  1. Newsgroups: comp.sources.unix
  2. From: sunil@hal.com (Sunil Savkar)
  3. Subject: v26i013: setd V1.7 -- Set Directory and Mark Utilities, Patch01
  4. Sender: unix-sources-moderator@pa.dec.com
  5. Approved: vixie@pa.dec.com
  6.  
  7. Submitted-By: sunil@hal.com (Sunil Savkar)
  8. Posting-Number: Volume 26, Issue 13
  9. Archive-Name: setd.pch1
  10.  
  11. Patch to the man pages for setd and mark [from volume 25].  Simple changes.
  12.  
  13.     sunil@hal.com (Sunil Savkar)
  14.  
  15. #! /bin/sh
  16. # This is a shell archive.  Remove anything before this line, then feed it
  17. # into a shell via "sh file" or similar.  To overwrite existing files,
  18. # type "sh file -c".
  19. # The tool that generated this appeared in the comp.sources.unix newsgroup;
  20. # send mail to comp-sources-unix@uunet.uu.net if you want that tool.
  21. # If this archive is complete, you will see the following message at the end:
  22. #        "End of shell archive."
  23. # Contents:  README Make.patch mark.1.patch setd.1.patch
  24. # Wrapped by sunil@jaguar on Sun Jan 12 16:06:12 1992
  25. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  26. if test -f 'README' -a "${1}" != "-c" ; then 
  27.   echo shar: Will not clobber existing file \"'README'\"
  28. else
  29. echo shar: Extracting \"'README'\" \(377 characters\)
  30. sed "s/^X//" >'README' <<'END_OF_FILE'
  31. XSetd and Mark Utilities
  32. XSunil William Savkar
  33. Xsunil@hal.com
  34. XHaL Computer Systems Inc.
  35. X
  36. XThe following diffs contained in setd.1.patch and mark.1.patch can be used to
  37. Xpatch the errors in both these files to allow people to install and run
  38. Xboth mark and setd. A slash was missing from both files.
  39. X
  40. X
  41. XJust type make -f Make.patch to install the fixes, and re-install the man pages.
  42. X
  43. END_OF_FILE
  44. if test 377 -ne `wc -c <'README'`; then
  45.     echo shar: \"'README'\" unpacked with wrong size!
  46. fi
  47. # end of 'README'
  48. fi
  49. if test -f 'Make.patch' -a "${1}" != "-c" ; then 
  50.   echo shar: Will not clobber existing file \"'Make.patch'\"
  51. else
  52. echo shar: Extracting \"'Make.patch'\" \(265 characters\)
  53. sed "s/^X//" >'Make.patch' <<'END_OF_FILE'
  54. X#
  55. X#  Makefile for setd and mark man patches
  56. X#  Sunil William Savkar
  57. X#  HaL Computer Sytems Corporation
  58. X#  January 12, 1992
  59. X#
  60. X
  61. XBINDIR= /usr/bin
  62. XMANDIR = /usr/man/man1
  63. X
  64. XMAN1 = setd.1
  65. XMAN2 = mark.1
  66. Xpatch.man :
  67. X    patch $(MAN1) $(MAN1).patch
  68. X    patch $(MAN2) $(MAN2).patch
  69. END_OF_FILE
  70. if test 265 -ne `wc -c <'Make.patch'`; then
  71.     echo shar: \"'Make.patch'\" unpacked with wrong size!
  72. fi
  73. # end of 'Make.patch'
  74. fi
  75. if test -f 'mark.1.patch' -a "${1}" != "-c" ; then 
  76.   echo shar: Will not clobber existing file \"'mark.1.patch'\"
  77. else
  78. echo shar: Extracting \"'mark.1.patch'\" \(125 characters\)
  79. sed "s/^X//" >'mark.1.patch' <<'END_OF_FILE'
  80. X37c37
  81. X<        alias mark 'mark \!*; source $MARK_DIR/mark_db'
  82. X---
  83. X>        alias mark 'mark \\!*; source $MARK_DIR/mark_db'
  84. END_OF_FILE
  85. if test 125 -ne `wc -c <'mark.1.patch'`; then
  86.     echo shar: \"'mark.1.patch'\" unpacked with wrong size!
  87. fi
  88. # end of 'mark.1.patch'
  89. fi
  90. if test -f 'setd.1.patch' -a "${1}" != "-c" ; then 
  91.   echo shar: Will not clobber existing file \"'setd.1.patch'\"
  92. else
  93. echo shar: Extracting \"'setd.1.patch'\" \(79 characters\)
  94. sed "s/^X//" >'setd.1.patch' <<'END_OF_FILE'
  95. X81c81
  96. X<        alias cd 'cd `setd \!*`'
  97. X---
  98. X>        alias cd 'cd `setd \\!*`'
  99. END_OF_FILE
  100. if test 79 -ne `wc -c <'setd.1.patch'`; then
  101.     echo shar: \"'setd.1.patch'\" unpacked with wrong size!
  102. fi
  103. # end of 'setd.1.patch'
  104. fi
  105. echo shar: End of shell archive.
  106. exit 0
  107.