[Fish-users] bash equivalent of eval

2014-07-03 Thread Wai Yan Pong
What would be the fish equivalent of the bash command

eval `prog  file`

I was trying

eval `slmenu  prog.txt`

which works for me in bash but not in fish.
--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft___
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users


Re: [Fish-users] bash equivalent of eval

2014-07-03 Thread David Adam
On Wed, 2 Jul 2014, Wai Yan Pong wrote:
 What would be the fish equivalent of the bash command
 
 eval `prog  file`
 
 I was trying
 
 eval `slmenu  prog.txt`

See the FAQ: http://fishshell.com/docs/current/faq.html#faq-subcommand

You can use
   eval (prog  file)

David Adam
zanc...@ucc.gu.uwa.edu.au

--
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
___
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users