cal -w does not work
With the standard terminal when I type
cal -w
I get a usage description indicating that 'cal' did not recognize the '-w'
but the '-w' is described in 'info cal' documentation. Is there a setting that enables this?
command-line calendar
add a comment |
With the standard terminal when I type
cal -w
I get a usage description indicating that 'cal' did not recognize the '-w'
but the '-w' is described in 'info cal' documentation. Is there a setting that enables this?
command-line calendar
2
IIRC-w
only applies toncal
– steeldriver
Dec 7 '18 at 14:39
1
@steeldriver to be fair, the-w
option is shown inman cal
however it seems to only work with thencal
command
– Charles Green
Dec 7 '18 at 14:43
3
@CharlesGreen however the synopsis section showsw
as an option forncal
only I think?
– steeldriver
Dec 7 '18 at 14:47
3
@steeldriver that is true, in that the man page forcal
andncal
is the same page and it is up to the OP to realize that both commands are discussed and not all options are available to both commands.
– Charles Green
Dec 7 '18 at 14:55
add a comment |
With the standard terminal when I type
cal -w
I get a usage description indicating that 'cal' did not recognize the '-w'
but the '-w' is described in 'info cal' documentation. Is there a setting that enables this?
command-line calendar
With the standard terminal when I type
cal -w
I get a usage description indicating that 'cal' did not recognize the '-w'
but the '-w' is described in 'info cal' documentation. Is there a setting that enables this?
command-line calendar
command-line calendar
edited Dec 7 '18 at 16:26
muru
1
1
asked Dec 7 '18 at 14:33
GreggGregg
1233
1233
2
IIRC-w
only applies toncal
– steeldriver
Dec 7 '18 at 14:39
1
@steeldriver to be fair, the-w
option is shown inman cal
however it seems to only work with thencal
command
– Charles Green
Dec 7 '18 at 14:43
3
@CharlesGreen however the synopsis section showsw
as an option forncal
only I think?
– steeldriver
Dec 7 '18 at 14:47
3
@steeldriver that is true, in that the man page forcal
andncal
is the same page and it is up to the OP to realize that both commands are discussed and not all options are available to both commands.
– Charles Green
Dec 7 '18 at 14:55
add a comment |
2
IIRC-w
only applies toncal
– steeldriver
Dec 7 '18 at 14:39
1
@steeldriver to be fair, the-w
option is shown inman cal
however it seems to only work with thencal
command
– Charles Green
Dec 7 '18 at 14:43
3
@CharlesGreen however the synopsis section showsw
as an option forncal
only I think?
– steeldriver
Dec 7 '18 at 14:47
3
@steeldriver that is true, in that the man page forcal
andncal
is the same page and it is up to the OP to realize that both commands are discussed and not all options are available to both commands.
– Charles Green
Dec 7 '18 at 14:55
2
2
IIRC
-w
only applies to ncal
– steeldriver
Dec 7 '18 at 14:39
IIRC
-w
only applies to ncal
– steeldriver
Dec 7 '18 at 14:39
1
1
@steeldriver to be fair, the
-w
option is shown in man cal
however it seems to only work with the ncal
command– Charles Green
Dec 7 '18 at 14:43
@steeldriver to be fair, the
-w
option is shown in man cal
however it seems to only work with the ncal
command– Charles Green
Dec 7 '18 at 14:43
3
3
@CharlesGreen however the synopsis section shows
w
as an option for ncal
only I think?– steeldriver
Dec 7 '18 at 14:47
@CharlesGreen however the synopsis section shows
w
as an option for ncal
only I think?– steeldriver
Dec 7 '18 at 14:47
3
3
@steeldriver that is true, in that the man page for
cal
and ncal
is the same page and it is up to the OP to realize that both commands are discussed and not all options are available to both commands.– Charles Green
Dec 7 '18 at 14:55
@steeldriver that is true, in that the man page for
cal
and ncal
is the same page and it is up to the OP to realize that both commands are discussed and not all options are available to both commands.– Charles Green
Dec 7 '18 at 14:55
add a comment |
2 Answers
2
active
oldest
votes
Typing cal -w
in the terminal shows extra arguments supported by cal
and even more extra arguments supported by ncal
:
$ cal -w
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
cal
only supportsh
,j
andy
arguments
ncal
supports same arguments plusw
option you seek and many more
add a comment |
There is no setting to change.
cal
and ncal
share documentation. The -w option is available only for ncal
This is explained in the 'usage' error you receive when you try to use -w with cal
.
If you wish, feel free to file a bug report against the 'bsdmainutils' package with recommended clarification to the documentation.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1099185%2fcal-w-does-not-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Typing cal -w
in the terminal shows extra arguments supported by cal
and even more extra arguments supported by ncal
:
$ cal -w
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
cal
only supportsh
,j
andy
arguments
ncal
supports same arguments plusw
option you seek and many more
add a comment |
Typing cal -w
in the terminal shows extra arguments supported by cal
and even more extra arguments supported by ncal
:
$ cal -w
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
cal
only supportsh
,j
andy
arguments
ncal
supports same arguments plusw
option you seek and many more
add a comment |
Typing cal -w
in the terminal shows extra arguments supported by cal
and even more extra arguments supported by ncal
:
$ cal -w
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
cal
only supportsh
,j
andy
arguments
ncal
supports same arguments plusw
option you seek and many more
Typing cal -w
in the terminal shows extra arguments supported by cal
and even more extra arguments supported by ncal
:
$ cal -w
Usage: cal [general options] [-hjy] [[month] year]
cal [general options] [-hj] [-m month] [year]
ncal [general options] [-bhJjpwySM] [-s country_code] [[month] year]
ncal [general options] [-bhJeoSM] [year]
General options: [-NC31] [-A months] [-B months]
For debug the highlighting: [-H yyyy-mm-dd] [-d yyyy-mm]
cal
only supportsh
,j
andy
arguments
ncal
supports same arguments plusw
option you seek and many more
answered Dec 7 '18 at 16:00
WinEunuuchs2UnixWinEunuuchs2Unix
44.7k1080170
44.7k1080170
add a comment |
add a comment |
There is no setting to change.
cal
and ncal
share documentation. The -w option is available only for ncal
This is explained in the 'usage' error you receive when you try to use -w with cal
.
If you wish, feel free to file a bug report against the 'bsdmainutils' package with recommended clarification to the documentation.
add a comment |
There is no setting to change.
cal
and ncal
share documentation. The -w option is available only for ncal
This is explained in the 'usage' error you receive when you try to use -w with cal
.
If you wish, feel free to file a bug report against the 'bsdmainutils' package with recommended clarification to the documentation.
add a comment |
There is no setting to change.
cal
and ncal
share documentation. The -w option is available only for ncal
This is explained in the 'usage' error you receive when you try to use -w with cal
.
If you wish, feel free to file a bug report against the 'bsdmainutils' package with recommended clarification to the documentation.
There is no setting to change.
cal
and ncal
share documentation. The -w option is available only for ncal
This is explained in the 'usage' error you receive when you try to use -w with cal
.
If you wish, feel free to file a bug report against the 'bsdmainutils' package with recommended clarification to the documentation.
answered Dec 7 '18 at 15:05
user535733user535733
7,85722942
7,85722942
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1099185%2fcal-w-does-not-work%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
IIRC
-w
only applies toncal
– steeldriver
Dec 7 '18 at 14:39
1
@steeldriver to be fair, the
-w
option is shown inman cal
however it seems to only work with thencal
command– Charles Green
Dec 7 '18 at 14:43
3
@CharlesGreen however the synopsis section shows
w
as an option forncal
only I think?– steeldriver
Dec 7 '18 at 14:47
3
@steeldriver that is true, in that the man page for
cal
andncal
is the same page and it is up to the OP to realize that both commands are discussed and not all options are available to both commands.– Charles Green
Dec 7 '18 at 14:55