From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 Description of problem: Bad: I always use csh in my console. the program "echo" could use backslash options (\t or \n) in RH7.3. I have installed RH8, and the command lines in my csh scripts can not print a newline (\n) or a tab (\t). When i use tcsh, echo runs properly. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.echo "linux \n" 2. 3. Actual Results: > linux \n > Expected Results: >linux (one blank line) > Additional info:
This is a tcsh feature, not a csh feature. Why don't you use tcsh instead? (Actually, they are the same executable, but apparently some csh-compatibility options turn on if you invoke tcsh via csh.)
You can change the behavior by setting the echo_style variable. Changing the default would break too many existing scripts, as well as arbitrarily diverging from upstream.