Advertisement
atanasovetr

BashExercise3

Jun 2nd, 2021
727
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.13 KB | None | 0 0
  1. #!/bin/bash
  2. file = $1
  3. text = $2
  4. count = $3
  5.  
  6. num = 0
  7. for num in $count; do
  8.    echo text >> file
  9.    echo "" >> file
  10. done
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement