Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Available SYNTAX:
- # --- $0 /path/file
- # --- $0 < /path/file
- # --- echo "my content" | $0
- # either comes from first argument or from /dev/stdin.
- content_to_replace="${1:-/dev/stdin}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement