Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # a.fish
  2. # this is a fish script
  3. set temp (getopt -o abc -l ace,bad,correct -- $argv)
  4. echo $temp
  5.  
  6. -a -b --correct --
  7.  
  8. # a.sh
  9. temp=$(getopt -o abc -l ace,bad,correct -- $@)
  10. echo $temp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement