mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-30 14:53:11 +00:00
7ddecde543
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
17 lines
No EOL
352 B
Fish
Executable file
17 lines
No EOL
352 B
Fish
Executable file
#!/usr/bin/fish
|
|
|
|
#
|
|
# Generate output for a test script
|
|
#
|
|
# It is important that you verify that the generated
|
|
# output is correct!
|
|
#
|
|
|
|
for i in $argv
|
|
set template_out (basename $i .in).out
|
|
set template_err (basename $i .in).err
|
|
set template_status (basename $i .in).status
|
|
|
|
fish <$i >$template_out ^$template_err
|
|
echo $status >$template_status
|
|
end |