Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- N=$1
- awk -vN="$N" 'BEGIN{ for (i=1; i<=N; i++) {
- print "<text id=\""i"\">"
- print "bla bla bla bla........."
- print "</text>"
- }}' > file1
- awk -vN="$N" 'BEGIN{ for (i=1; i<=N; i++) {
- print i, "title" i
- }}' > file2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement