X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <47D9023A.7050803@alice.it> Date: Thu, 13 Mar 2008 11:30:18 +0100 From: Angelo Graziosi User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: On Bash options Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Just a curiosity. I have the following link on Desktop: C:\cygwin\bin\run.exe bash -l -c start_urxvt.sh with which I run 'start_urxvt.sh' located in /usr/local/bin. 'start_urxvt.sh' contains at the end: [...] exec /usr/bin/urxvt which starts an URXVT console. Well, the fact is that its prompt is: sh-3.2$ If I change the above link using the '-e' instead of '-c' option, C:\cygwin\bin\run.exe bash -l -e start_urxvt.sh then the prompt is the one I like, i.e. angelo AT mypc ~ $ I have searched the description of '-e' option using 'man bash' but I have not found it. (I have also searched the string '-e' in bash.1, but without success) Is there a bug in bash.1 or what else? Cheers, Angelo. --- Tu proverai si' come sa di sale lo pane altrui, e come e' duro calle lo scendere e 'l salir per l'altrui scale. . DANTE, Paradiso, xvii 58-60 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/