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?










share|improve this question









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 -w only applies to ncal
    – steeldriver
    Dec 7 at 14:39






  • 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








  • 3




    @CharlesGreen however the synopsis section shows w as an option for ncal only I think?
    – steeldriver
    Dec 7 at 14:47






  • 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















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?










share|improve this question









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 -w only applies to ncal
    – steeldriver
    Dec 7 at 14:39






  • 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








  • 3




    @CharlesGreen however the synopsis section shows w as an option for ncal only I think?
    – steeldriver
    Dec 7 at 14:47






  • 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













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?










share|improve this question









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






share|improve this question









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.











share|improve this question









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.









share|improve this question




share|improve this question








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 -w only applies to ncal
    – steeldriver
    Dec 7 at 14:39






  • 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








  • 3




    @CharlesGreen however the synopsis section shows w as an option for ncal only I think?
    – steeldriver
    Dec 7 at 14:47






  • 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














  • 2




    IIRC -w only applies to ncal
    – steeldriver
    Dec 7 at 14:39






  • 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








  • 3




    @CharlesGreen however the synopsis section shows w as an option for ncal only I think?
    – steeldriver
    Dec 7 at 14:47






  • 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








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










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]




  • cal only supports h, j and y arguments


  • ncal supports same arguments plus w option you seek and many more






share|improve this answer




























    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.






    share|improve this answer





















      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.










      draft saved

      draft discarded


















      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]




      • cal only supports h, j and y arguments


      • ncal supports same arguments plus w option you seek and many more






      share|improve this answer

























        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]




        • cal only supports h, j and y arguments


        • ncal supports same arguments plus w option you seek and many more






        share|improve this answer























          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]




          • cal only supports h, j and y arguments


          • ncal supports same arguments plus w option you seek and many more






          share|improve this answer












          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 supports h, j and y arguments


          • ncal supports same arguments plus w option you seek and many more







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 7 at 16:00









          WinEunuuchs2Unix

          41.4k1070156




          41.4k1070156
























              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.






              share|improve this answer

























                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.






                share|improve this answer























                  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.






                  share|improve this answer












                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Dec 7 at 15:05









                  user535733

                  7,46222941




                  7,46222941






















                      Gregg is a new contributor. Be nice, and check out our Code of Conduct.










                      draft saved

                      draft discarded


















                      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.




                      draft saved


                      draft discarded














                      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





















































                      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







                      Popular posts from this blog

                      How did Captain America manage to do this?

                      迪纳利

                      南乌拉尔铁路局