🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.unix.shell
Article #1519

What's set -n for ?

#1519
From: Ian Watson
Date: Wed, 17 Oct 1990 14:51
16 lines
978 bytes
What's the point of the -n option for the 'set' command of sh ?

	-n	Reads commands but does not execute them

If you have set it, how would you ever unset it ?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ian Watson, HP Pinewood Information Systems Division, England.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phone :				(Intl)+44 344 763015
Unix mail (Internet) :		ian@hpopd.HP.COM
Unix mail (UUCP) :		...!hplabs!hpopd!ian
Openmail :			ian watson/pinewood,lab,hpopd
Openmail from Unix :		ian_watson/pinewood_lab_hpopd@hpopd
HPDesk :			Ian WATSON/HP1600
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Technical Details
Message-ID: <23880001@hpopd.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!sdd.hp.com!hplabs!hpda!hpcuhb!hpsqf!hpopd!ian

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!know!sdd.hp.com!hplabs!hpda!hpcuhb!hpsqf!hpopd!ian
From: ian@hpopd.HP.COM (Ian Watson)
Newsgroups: comp.unix.shell
Subject: What's set -n for ?
Message-ID: <23880001@hpopd.HP.COM>
Date: 17 Oct 90 14:51:59 GMT
Organization: HP PWD, Pinewood UK.
Lines: 16