Bug 217397 - builtin csh() unset doesn't work
Summary: builtin csh() unset doesn't work
Status: Closed Not A Bug
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-27 16:19 UTC by mr.xanto
Modified: 2017-02-28 06:46 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mr.xanto 2017-02-27 16:19:34 UTC
Looks like builtin csh() unset not works:

roman@solution:~ % echo $PAGER
more
roman@solution:~ % unset PAGER
roman@solution:~ % echo $PAGER
more
roman@solution:~ %
Comment 1 Bob Bishop 2017-02-27 16:38:25 UTC
(In reply to mr.xanto from comment #0)
PAGER is an enviroinment variable, you have to use `unsetenv'
Comment 2 mr.xanto 2017-02-27 16:56:44 UTC
(In reply to rb from comment #1)

What difference between "variable" (unset) and "environment variables" (unsetenv)?
What variables can be operated by "unset" command?