23 lines
273 B
Bash
23 lines
273 B
Bash
|
#!/usr/bin/bash
|
||
|
args=""
|
||
|
|
||
|
while [[ $# > 0 ]]; do
|
||
|
key="$1"
|
||
|
|
||
|
case $key in
|
||
|
--js) args="$args $2"
|
||
|
shift
|
||
|
;;
|
||
|
|
||
|
--js_output_file)
|
||
|
output="$2"
|
||
|
shift
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
shift
|
||
|
|
||
|
done
|
||
|
|
||
|
cat $args > $output
|