1#!/bin/bash
2for i in "$@"; do
3	n=$(basename "$i" .txt|sed -e 's/s$//')
4	echo "const char* sm4_${n}_names[] ="
5	echo "{"
6	while read j; do
7		echo $'\t'"\"$j\"",
8	done < "$i"
9	echo "};"
10	echo
11done
12