0

In bourne-compatible shells, the { list; } syntax causes the complete list of commands to be read by the shell before executing it, without opening a new shell. Is there anything similar for the csh?

Thanks.

andreas buykx
  • 12,608
  • 10
  • 62
  • 76

2 Answers2

1

I think csh only has parentheses. But they create a subshell (in addition to grouping commands) just like they do in Bourne-style shells.

Dennis Williamson
  • 346,391
  • 90
  • 374
  • 439
1

As Dennis says, no direct equivalent. 'eval' might be woth looking at - depends what you need to do.

martin clayton
  • 76,436
  • 32
  • 213
  • 198