This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#handle no input - just fire echo and exit | |
if [ "$#" -eq 0 ]; then | |
echo | |
exit | |
fi | |
#concat params like echo does | |
str="$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
xargs bash -c '</dev/tty vim "$@"' ignoredparam | |
exit 0 |