Limitation of setenv for tcsh: Too many arguments

KAVALAGIOS Panagiotis (EEAS-EXT) Panagiotis.KAVALAGIOS@ext.eeas.europa.eu
Fri Jan 8 10:13:25 GMT 2021


Dear all,

There is a limitation for tcsh (setenv: Too many arguments) to set the PATH environmental variable as you can see in the attached file with the steps to reproduce it. It probably looks like tcsh limitation and not Cygwin. The "set path=( ${HOME}/bin $path)" is not complaining and sets the path, but it also interprets the space in the paths as a separator. The only Cygwin related issue is probably the /usr/bin that it is added twice. Any workarounds?

Panos

Application Architect
CONSULIAT (under contract with the EEAS)
BA.BS.3.IS
Office: EEAS B100 Floor 5 Area 048
Rue Belliard 100, 1000 Brussels
Phone: +32 2 584 6017

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tcsh-setenv-issue.txt
URL: <https://cygwin.com/pipermail/cygwin/attachments/20210108/5f73a505/attachment-0001.txt>


More information about the Cygwin mailing list