Enter the URL that should point to the particular microsite
Redirect permanent /kpmgxy system-unavailable
./script.sh[6]: [0: not found
sed: command garbled: $a Redirect
Redirects Setup
There's something I don't understand.
is
redirects.virgin-atlantic.com.confthe name of the file? In this case, what is the use of
> temp?
Another question : this script is written for csh shell or ksh. How can I convert this for bash shell? All the Tuto i find use different syntaxes and don't works for bash shell...
If you have little time to explain me or a link to a good website, it'll be really appreciable.
Rule 10: [...]Don't send a private message with a technical question. The forums are for the benefit of all, so all Q&A should take place in the forums.
Also, please learn how to enclose your code in appropriate tags. It's the '#' symbol above the posting box.
If you'd have posted the whole part before, not just the part where you thought the error was, we could have told you that the testing expression for the if requires whitespace surrounding the brackets, eg