Inspired by the accepted answer to this thread, I am trying to replicate a similar construction in tcsh (version 6.14.00) with no luck:
setenv new_PATH ( /some/path /some/other/path # Some comments /foo/path # Another group /bar/path $PATH) # Attach $PATH at the end in case we had previous declarations setenv PATH `sed -e '/^#/'d -e '/^$/'d << EOF | paste -d ":" -s $new_PATH`
I get the error "
Too many ('s" . What am I doing wrong?