Permalink
Browse files

Remove tabs

  • Loading branch information...
Andy Chu
Andy Chu committed Aug 26, 2017
1 parent 203a7ba commit f39be99249fd46d0f6b030ac0846b7fb57cfe028
Showing with 3 additions and 4 deletions.
  1. +3 −4 spec/hard-coded-descriptors.sh
@@ -21,11 +21,11 @@ set -o errexit
interactive-stdin() {
local path=$0 # This script
while read line <&"$fd" ; do
while read line <&"$fd" ; do
echo "[$line]"
read -p "Continue? " ans
read -p "Continue? " ans
[[ "$ans" != yes ]] && exit 1
done {fd}< $path
done {fd}< $path
}
# https://www.reddit.com/r/oilshell/comments/6tch5v/avoid_directly_manipulating_file_descriptors_in/
@@ -116,5 +116,4 @@ flock-demo() {
wait
}
"$@"

0 comments on commit f39be99

Please sign in to comment.