Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Call bash non-interactively' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Call bash non-interactively
Authored by: adashiel on Mar 04, '03 10:58:55AM

If you're using tcsh, rather than spawning a bash subshell for this, you can invoke bash non-interactively with a "bash -c '<command>'". Thus:

% bash -c 'let x=0x3F ; echo $x'
63



[ Reply to This | # ]