Add comment headers to wrappers

This commit is contained in:
Prashanth Chandra 2016-10-04 02:20:13 +08:00
parent 60a03cb933
commit 043446998b
2 changed files with 9 additions and 8 deletions

View File

@ -1,7 +1,8 @@
#!/bin/bash -eu #!/bin/bash -eu
# This script wraps DMD so we can get something which is capable of reading # Author: w0rp <devw0rp@gmail.com>
# D code from stdin. # Description: This script wraps DMD so we can get something which is capable of reading
# D code from stdin.
temp_file=`mktemp` temp_file=`mktemp`
mv "$temp_file" "$temp_file".d mv "$temp_file" "$temp_file".d

View File

@ -1,12 +1,12 @@
#!/bin/bash -eu #!/bin/bash -eu
# This script implements a wrapper for any program which does not accept # Author: w0rp <devw0rp@gmail.com>
# stdin input on most Unix machines. The input to the script is read to a # Description: This script implements a wrapper for any program which does not accept
# temporary file, and the first argument sets a particular file extension # stdin input on most Unix machines. The input to the script is read to a
# for the temporary file. # temporary file, and the first argument sets a particular file extension
# # for the temporary file.
# All of the following arguments are read as command to run.
# All of the following arguments are read as command to run.
file_extension="$1" file_extension="$1"
shift shift