Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2019
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. #!/bin/bash
  2. # Available SYNTAX:
  3. # --- $0 /path/file
  4. # --- $0 < /path/file
  5. # --- echo "my content" | $0
  6.  
  7. # either comes from first argument or from /dev/stdin.
  8. content_to_replace="${1:-/dev/stdin}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement