#!/bin/bash
for i in {-10..10}; do 
     gms b_${i}.inp 1 > b_${i}.log     
done