Skip to content

Instantly share code, notes, and snippets.

@amalgjose
Created November 19, 2014 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amalgjose/9d04553287a87fe70b15 to your computer and use it in GitHub Desktop.
Save amalgjose/9d04553287a87fe70b15 to your computer and use it in GitHub Desktop.
Shell script for multiplying a file
#!/bin/bash
count=1
limit=10
while [ $count -le $limit ]
do
cat A.txt >> B.txt
cat B.txt >> A.txt
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment