mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-22 21:03:53 +00:00
Estimated hours taken: 1 <overview or general description of changes> <directory>/<file>: <detailed description of changes>
14 lines
231 B
Bash
Executable File
14 lines
231 B
Bash
Executable File
#!/bin/sh
|
|
# Print the names of .int and .int2 files in the current directory
|
|
# that do not have a .m file with the same name.
|
|
|
|
for file in *.int
|
|
do
|
|
if test ! -f `basename $file .int`.m
|
|
then
|
|
echo $file ${file}2
|
|
fi
|
|
done
|
|
|
|
exit 0
|