diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-09-18 10:18:26 +0800 |
---|---|---|
committer | Grissiom <chaos.proton@gmail.com> | 2010-09-18 10:18:26 +0800 |
commit | 70322077d21ae38bbe503d88e9e4d73ec883a493 (patch) | |
tree | d64024c9dde752818a35f865f910e413d8935579 /share/functions/psub.fish | |
parent | f529b2e05725cba0bf9da3ee0feb0b7e3ef2fa5a (diff) |
remove trialing spaces #2
Diffstat (limited to 'share/functions/psub.fish')
-rw-r--r-- | share/functions/psub.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/functions/psub.fish b/share/functions/psub.fish index 9eebd13b..874d5832 100644 --- a/share/functions/psub.fish +++ b/share/functions/psub.fish @@ -9,7 +9,7 @@ function psub --description "Read from stdin into a file and output the filename set -l longopt -l help,file if getopt -T >/dev/null - set longopt + set longopt end if not getopt -n psub -Q $shortopt $longopt -- $argv @@ -57,7 +57,7 @@ function psub --description "Read from stdin into a file and output the filename # Write output to pipe. This needs to be done in the background so # that the command substitution exits without needing to wait for # all the commands to exit - mkfifo $filename + mkfifo $filename cat >$filename & else cat >$filename @@ -75,6 +75,6 @@ function psub --description "Read from stdin into a file and output the filename end # Make sure we erase file when caller exits - eval function $funcname --on-job-exit caller\; command rm $filename\; functions -e $funcname\; end + eval function $funcname --on-job-exit caller\; command rm $filename\; functions -e $funcname\; end end |