[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
What is the difference between a newline and a semi-colon?
From: |
Bruce Korb |
Subject: |
What is the difference between a newline and a semi-colon? |
Date: |
Fri, 30 May 2014 08:01:39 -0700 |
$ . xx ; cat xx ; proj ; pwd ; pwd -P
alias proj="cd ~/'google drive'/web"
bash: proj: command not found
/home/sciadmin/tmp
/home/sciadmin/tmp
$ . xx
$ cat xx ; proj ; pwd ; pwd -P
alias proj="cd ~/'google drive'/web"
/home/sciadmin/google drive/web
/home/sciadmin/foo bar/web
Clearly, there is a behavioral difference. Is this a bug or feature?
$ echo $BASH_VERSION ; cat /etc/redhat-release
4.1.2(1)-release
CentOS release 6.5 (Final)
- What is the difference between a newline and a semi-colon?,
Bruce Korb <=