10 lines
169 B
Bash
10 lines
169 B
Bash
|
for file in $2*.cpp
|
||
|
do
|
||
|
echo "$file"
|
||
|
[[ -e "$file" ]] || break
|
||
|
output_file="$(basename -s .cpp "$file")"
|
||
|
|
||
|
echo "$output_file";
|
||
|
touch $2$output_file'.py';
|
||
|
done;
|