Skip to content
Snippets Groups Projects
Commit c9e4fd77 authored by Mark Olesen's avatar Mark Olesen
Browse files

ENH: add options for foamEtcFile and shell evaluation

- Eg, instead

      if file=$(foamEtcFile filename)
      then
          . $file
      fi

  can write

      eval "$(foamEtcFile -sh filename)"

  Also supports -verbose reporting, which is especially useful for csh,
  since it allows simplification of aliases and allows the message to
  land on stderr instead of stdout.

      eval `foamEtcFile -csh -verbose filename`
parent 07ec2b3a
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment