cal -w does not work
up vote
4
down vote
favorite
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
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
up vote
4
down vote
favorite
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
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
IIRC-wonly applies toncal
– steeldriver
Dec 7 at 14:39
1
@steeldriver to be fair, the-woption is shown inman calhowever it seems to only work with thencalcommand
– Charles Green
Dec 7 at 14:43
3
@CharlesGreen however the synopsis section showswas an option forncalonly I think?
– steeldriver
Dec 7 at 14:47
3
@steeldriver that is true, in that the man page forcalandncalis 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 at 14:55
add a comment |
up vote
4
down vote
favorite
up vote
4
down vote
favorite
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
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited Dec 7 at 16:26
muru
135k19289489
135k19289489
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked Dec 7 at 14:33
Gregg
1233
1233
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Gregg is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
IIRC-wonly applies toncal
– steeldriver
Dec 7 at 14:39
1
@steeldriver to be fair, the-woption is shown inman calhowever it seems to only work with thencalcommand
– Charles Green
Dec 7 at 14:43
3
@CharlesGreen however the synopsis section showswas an option forncalonly I think?
– steeldriver
Dec 7 at 14:47
3
@steeldriver that is true, in that the man page forcalandncalis 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 at 14:55
add a comment |
2
IIRC-wonly applies toncal
– steeldriver
Dec 7 at 14:39
1
@steeldriver to be fair, the-woption is shown inman calhowever it seems to only work with thencalcommand
– Charles Green
Dec 7 at 14:43
3
@CharlesGreen however the synopsis section showswas an option forncalonly I think?
– steeldriver
Dec 7 at 14:47
3
@steeldriver that is true, in that the man page forcalandncalis 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 at 14:55
2
2
IIRC
-w only applies to ncal– steeldriver
Dec 7 at 14:39
IIRC
-w only applies to ncal– steeldriver
Dec 7 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 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 at 14:43
3
3
@CharlesGreen however the synopsis section shows
w as an option for ncal only I think?– steeldriver
Dec 7 at 14:47
@CharlesGreen however the synopsis section shows
w as an option for ncal only I think?– steeldriver
Dec 7 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 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 at 14:55
add a comment |
2 Answers
2
active
oldest
votes
up vote
0
down vote
accepted
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]
calonly supportsh,jandyarguments
ncalsupports same arguments pluswoption you seek and many more
add a comment |
up vote
3
down vote
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',
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
});
}
});
Gregg is a new contributor. Be nice, and check out our Code of Conduct.
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
up vote
0
down vote
accepted
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]
calonly supportsh,jandyarguments
ncalsupports same arguments pluswoption you seek and many more
add a comment |
up vote
0
down vote
accepted
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]
calonly supportsh,jandyarguments
ncalsupports same arguments pluswoption you seek and many more
add a comment |
up vote
0
down vote
accepted
up vote
0
down vote
accepted
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]
calonly supportsh,jandyarguments
ncalsupports same arguments pluswoption 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]
calonly supportsh,jandyarguments
ncalsupports same arguments pluswoption you seek and many more
answered Dec 7 at 16:00
WinEunuuchs2Unix
41.4k1070156
41.4k1070156
add a comment |
add a comment |
up vote
3
down vote
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 |
up vote
3
down vote
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 |
up vote
3
down vote
up vote
3
down vote
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 at 15:05
user535733
7,46222941
7,46222941
add a comment |
add a comment |
Gregg is a new contributor. Be nice, and check out our Code of Conduct.
Gregg is a new contributor. Be nice, and check out our Code of Conduct.
Gregg is a new contributor. Be nice, and check out our Code of Conduct.
Gregg is a new contributor. Be nice, and check out our Code of Conduct.
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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
-wonly applies toncal– steeldriver
Dec 7 at 14:39
1
@steeldriver to be fair, the
-woption is shown inman calhowever it seems to only work with thencalcommand– Charles Green
Dec 7 at 14:43
3
@CharlesGreen however the synopsis section shows
was an option forncalonly I think?– steeldriver
Dec 7 at 14:47
3
@steeldriver that is true, in that the man page for
calandncalis 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 at 14:55