Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Bash does not seem to insert whitespace but tcsh does.

Tcsh

bash-3.2.25$ tcsh -c 'echo $tcsh; echo A\
> B'
6.14.00
A B

Bash

bash-3.2.25$ bash -c 'echo A\
> B'
AB

How can I ask tcsh to not insert a space between A and B?

share|improve this question
    
Hmm, why is multiple line necessary? –  warl0ck Nov 2 '12 at 6:14
    
@warl0ck I wanted to break a long command line to make it short/manageable –  Gowtham Nov 2 '12 at 7:03
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.