Added the appropriate #! magic at the beginning of shell scripts. (Some modern shells don't like scripts to be without it.)
This commit is contained in:
parent
8769a2b8bc
commit
3a69ad76f4
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
: argtype lists all em mnemonics that have an argument type equal to
|
||||
: one of the letters specified in the argument
|
||||
case x$# in
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
EM_TABLE=$1
|
||||
echo "switch(p->em_opcode) {"
|
||||
for i in - cdflnorswz p b
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
: argtype lists all em mnemonics that have an argument type equal to
|
||||
: one of the letters specified in the argument
|
||||
case x$# in
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
EM_TABLE=$1
|
||||
argtype=$2
|
||||
echo "switch(p->em_opcode) {"
|
||||
|
||||
@ -3,6 +3,10 @@
|
||||
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
|
||||
* See the copyright notice in the ACK home directory, in the file "Copyright".
|
||||
*/
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include "file_info.h"
|
||||
#include "input.h"
|
||||
#define INP_TYPE struct file_info
|
||||
|
||||
@ -5,6 +5,7 @@
|
||||
*/
|
||||
/* MAIN PROGRAM */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <alloc.h>
|
||||
#include <em_arith.h>
|
||||
#include <assert.h>
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
#!/bin/sh
|
||||
: Update Files from database
|
||||
|
||||
PATH=/bin:/usr/bin
|
||||
|
||||
@ -5,6 +5,8 @@
|
||||
*/
|
||||
/* USER-OPTION HANDLING */
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <alloc.h>
|
||||
#include "idfsize.h"
|
||||
#include "class.h"
|
||||
@ -90,7 +92,7 @@ do_option(text)
|
||||
|
||||
if (++inc_total > inc_max) {
|
||||
inctable = (char **)
|
||||
Realloc(inctable,(inc_max+=10)*sizeof(char *));
|
||||
Realloc((void*) inctable,(inc_max+=10)*sizeof(char *));
|
||||
}
|
||||
|
||||
for(i = inc_pos++; i < inc_total; i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user