🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #4010

Re: Bash equivalent of cmd /k switch

#4010
From: Scott Lurndal
Date: Wed, 03 Jun 2009 14:55
17 lines
1515 bytes
David Schwartz <davids@webmaster.com> writes:
>On Jun 2, 5:25=A0pm, sc...@slp53.sl.home (Scott Lurndal) wrote:
>
>> Why not use .profile/.login/.kshrc/.bashrc as appropriate for the shell
>> being used?
>
>I would consider it rude for a script or program that creates a
>specialized shell to mess with those files.
>
>DS

I was thinking more along the lines of

KSHRC=.prerunfile ksh or
BASHRC=.prefunfile bash

scott
Technical Details
Message-ID: <4a268ed1$0$25234$b96e1c2@news.usenetserver.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!209.197.12.218.MISMATCH!post02.iad!not-for-mail
References: <c7e2ac57-0e67-4727-a1ca-f5e4adea3803@r16g2000vbn.googlegroups.com> <86eiu2cq2e.fsf@vulcan.lan> <0d67cc76-a21f-40d0-a44f-16df03f78337@t10g2000vbg.googlegroups.com> <4a25c2ea$0$5514$b66e132@news.usenetserver.com> <c40b3cf6-2125-437f-a0b4-f72d8dc3c616@h2g2000yqg.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 4d82dd0a1,dfab991ae69ee2e
X-Google-Attributes: gid4d82dd0a1,public,usenet
X-Google-NewGroupId: yes
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nx02.iad01.newshosting.com!newshosting.com!209.197.12.218.MISMATCH!post02.iad!not-for-mail
X-newsreader: xrn 9.03-beta-14-64bit
Sender: scott@althor.sl.home (Scott Lurndal)
From: scott@slp53.sl.home (Scott Lurndal)
Reply-To: slp53@pacbell.net
Subject: Re: Bash equivalent of cmd /k switch
Newsgroups: comp.unix.shell,comp.unix.programmer,gnu.bash
References: <c7e2ac57-0e67-4727-a1ca-f5e4adea3803@r16g2000vbn.googlegroups.com> <86eiu2cq2e.fsf@vulcan.lan> <0d67cc76-a21f-40d0-a44f-16df03f78337@t10g2000vbg.googlegroups.com> <4a25c2ea$0$5514$b66e132@news.usenetserver.com> <c40b3cf6-2125-437f-a0b4-f72d8dc3c616@h2g2000yqg.googlegroups.com>
Date: 03 Jun 2009 14:55:13 GMT
Lines: 17
Message-ID: <4a268ed1$0$25234$b96e1c2@news.usenetserver.com>
X-Complaints-To: abuse@usenetserver.com