|
|
Hei curious why the shell wrong? (To see)
|
|
Hei, the shell why wrong?
[oracle@dbora File]$. /go : Command not found '/go : Syntax error near unexpected token `do '/go :. /go `Do : line 3 : [oracle@dbora File]$ more go
For filename in `ls` Do Echo "" Echo "$filename" Echo "" Mv $filename /home/allahz/bak/$filename Done
**********************redhat6.2**************
Edited by allahz on 7/12/00 03:06 PM.
|
|
|
Re : hei curious why the shell wrong? (To see)
|
|
Must be imported under the windows? And the transport firms for each trip. Use vi your_shell [dos] Be revealed in his words underneath. If this is, as long as Cat your_shell | tr-d '\015' "new_shell Operation can be further new_shell
|
|
|
Re : hei curious why the shell wrong? (To see)
|
|
No, I completely normal operation here ---no-fate---
|
|
|
I REDHAT6.2 here is that you? (Null)
|
|
:_)
|
|
|
I redhat6.2 here is just below this are wrong.
|
|
[oracle@dbora File1]$ more go For filename in /home/oracle/file1/* Do Echo "" Echo "$filename" Echo "" Done [oracle@dbora File1]$. /go '/go : Syntax error near unexpected token `do '/go :. /go `do : Line 2 : [oracle@dbora File1]$
|
|
|
Re : I REDHAT6.2 here is that you? (Null)
|
|
I was RedHat6.1
---no-fate---
|
|
|
Good emergency! You realize what it means yet? (Null)
|
|
:)
|
|
|
Re : hei curious why the shell wrong? (To see)
|
|
Will be '1s' re *
I like GNU
|
|
|
Users can not make mistakes! With root is the PATH environment variable to be changed?
|
|
* Filename in for Do Echo "" Echo "$filename" Echo "" Done
* 1s or for the wrong! '/go : Syntax error near unexpected token `do '/go :. /go `do : Line 2 :
I use root user can go in /root catalog operation Why?
|
|
|
Come on, you have not read my palindrome!
|
|
You see is not more untrue! If you use vi open your documents in a [dos] vi lowermost his words, you should carry the following order :
$ Cat your_shell | tr-d '\015' "new_shell $ Sh new_shell
|
|
|
My normal! Thank you!
|
|
Loss! :)
|
|
|
Shell programming FAQ NO.1
|
|
1, the shell is why I have no procedure seems wrong, but the operation is being given up? Answer : You may write the script in dos environment, at the end of his trip is "\r\n" and shell Accepted at the end of the trip is "\n," so there baffling error; Solutions : 1. . . Astonia 's answer 2, bash seemed to be set up as support for "\r\n" mode? ! What can the perl.
--- BitBIRD ------- Some birds bibn 't mean to be caged
|
|
|
Thank you!
|
|
She wandered the beginning of many heads!
|