🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1131

S in Bourne shell

#1131
From: Gregory A. Hooten
Date: Thu, 13 Sep 1990 23:28
14 lines
765 bytes


I have /bin/sh set up in my passwd file as the default login
shell. When I log in, if I do 

echo $- 

I get one variable showing which is "s".  What is "s"?
If I go to a sub shell, the S no longer exists.

Greg Hooten

gahooten@eos.arc.nasa.gov
Technical Details
Message-ID: <1990Sep13.232808.10282@news.arc.nasa.gov>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!lll-winken!ames!orion.arc.nasa.gov!gahooten

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!lll-winken!ames!orion.arc.nasa.gov!gahooten
From: gahooten@orion.arc.nasa.gov (Gregory A. Hooten)
Newsgroups: comp.unix.shell
Subject: S in Bourne shell
Message-ID: <1990Sep13.232808.10282@news.arc.nasa.gov>
Date: 13 Sep 90 23:28:08 GMT
Sender: usenet@news.arc.nasa.gov (USENET Administration)
Reply-To: gahooten@orion.arc.nasa.gov (Gregory A. Hooten)
Organization: NASA Ames Research Center, Moffett Field, CA
Lines: 14