Newer
Older
Import / code / Scripts / code2pdf.sh
#!/bin/bash
#===============================================================================
#
#          FILE:  code2pdf.sh
# 
#         USAGE:  ./code2pdf.sh 
# 
#   DESCRIPTION:  Formats and converts a source code file to a PDF file
# 
#       OPTIONS:  ---
#  REQUIREMENTS:  ---
#          BUGS:  ---
#         NOTES:  ---
#        AUTHOR:  John Ryland (jryland@xiaofrog.com)
#       COMPANY:  InvertedLogic
#       VERSION:  1.0
#       CREATED:  19/07/2008 19:31:39 CST
#      REVISION:  ---
#===============================================================================

vgrind $1 | pstopdf -i -o $1.pdf