Command line friendly spreadsheetsCommand-line-friendly full-text indexing?Is there a robust command line tool for processing csv files?Using CSV line as command parametersHow to adjust numeric fields in a text fileA unix command to truncate each line of a fileIs there a command line utility to transpose a csv-file?User-friendly command to list all users on Ubuntu system?Terminal-based spreadsheets and wordprocessor?How to search for the word stored in the hold space with sed?transform multi multi line to multi on line file

Multi tool use
Multi tool use

Draw simple lines in Inkscape

Can an x86 CPU running in real mode be considered to be basically an 8086 CPU?

How is the claim "I am in New York only if I am in America" the same as "If I am in New York, then I am in America?

What is the command to reset a PC without deleting any files

Is there a minimum number of transactions in a block?

Can town administrative "code" overule state laws like those forbidding trespassing?

Why is this code 6.5x slower with optimizations enabled?

What is GPS' 19 year rollover and does it present a cybersecurity issue?

XeLaTeX and pdfLaTeX ignore hyphenation

Email Account under attack (really) - anything I can do?

What are these boxed doors outside store fronts in New York?

What typically incentivizes a professor to change jobs to a lower ranking university?

How is it possible for user's password to be changed after storage was encrypted? (on OS X, Android)

How to determine if window is maximised or minimised from bash script

Can Medicine checks be used, with decent rolls, to completely mitigate the risk of death from ongoing damage?

Non-Jewish family in an Orthodox Jewish Wedding

Chess with symmetric move-square

Infinite past with a beginning?

Are tax years 2016 & 2017 back taxes deductible for tax year 2018?

My colleague's body is amazing

Can a German sentence have two subjects?

Concept of linear mappings are confusing me

Why was the small council so happy for Tyrion to become the Master of Coin?

Is there a familial term for apples and pears?



Command line friendly spreadsheets


Command-line-friendly full-text indexing?Is there a robust command line tool for processing csv files?Using CSV line as command parametersHow to adjust numeric fields in a text fileA unix command to truncate each line of a fileIs there a command line utility to transpose a csv-file?User-friendly command to list all users on Ubuntu system?Terminal-based spreadsheets and wordprocessor?How to search for the word stored in the hold space with sed?transform multi multi line to multi on line file






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








21















Does such a thing exist? Text-based spreadsheets that display well in a CLI environment. I'm aware that I could cat foobar.csvand do as I please, but it isn't particularly practical or attractive. I cannot imagine it would be hard to format a table, and maybe follow certain rules (math?) as well.



Emacs has org-mode which handles text-based tables quite well, and allows exporting to multiple formats. However, one must use Emacs! Which as a Vim user I would prefer to avoid.










share|improve this question






















  • What is not practical or attractive? Do you need to use formulars, do you like to do interactive inserts? What do you need?

    – user unknown
    Nov 9 '11 at 16:39












  • @userunknown The readability of comma or tab separated values clearly suffers unless each value is of same width as all others.

    – Sergey
    Nov 9 '11 at 17:59






  • 1





    are you looking for read-write access to spreadsheets, or read-only access?

    – Tim Kennedy
    Nov 9 '11 at 21:51











  • @TimKennedy Ideally something that can replace Excel for basic tasks, but something that can output a spreadsheet with decent formatting would be great.

    – Sergey
    Nov 10 '11 at 17:10











  • @Sergey: Well - the readability is fine if you use tabs, and all values fall into the same length-range in multiples of 8, to be a bit more precise. Tabs where invented for this purpose.

    – user unknown
    Nov 10 '11 at 19:09

















21















Does such a thing exist? Text-based spreadsheets that display well in a CLI environment. I'm aware that I could cat foobar.csvand do as I please, but it isn't particularly practical or attractive. I cannot imagine it would be hard to format a table, and maybe follow certain rules (math?) as well.



Emacs has org-mode which handles text-based tables quite well, and allows exporting to multiple formats. However, one must use Emacs! Which as a Vim user I would prefer to avoid.










share|improve this question






















  • What is not practical or attractive? Do you need to use formulars, do you like to do interactive inserts? What do you need?

    – user unknown
    Nov 9 '11 at 16:39












  • @userunknown The readability of comma or tab separated values clearly suffers unless each value is of same width as all others.

    – Sergey
    Nov 9 '11 at 17:59






  • 1





    are you looking for read-write access to spreadsheets, or read-only access?

    – Tim Kennedy
    Nov 9 '11 at 21:51











  • @TimKennedy Ideally something that can replace Excel for basic tasks, but something that can output a spreadsheet with decent formatting would be great.

    – Sergey
    Nov 10 '11 at 17:10











  • @Sergey: Well - the readability is fine if you use tabs, and all values fall into the same length-range in multiples of 8, to be a bit more precise. Tabs where invented for this purpose.

    – user unknown
    Nov 10 '11 at 19:09













21












21








21


9






Does such a thing exist? Text-based spreadsheets that display well in a CLI environment. I'm aware that I could cat foobar.csvand do as I please, but it isn't particularly practical or attractive. I cannot imagine it would be hard to format a table, and maybe follow certain rules (math?) as well.



Emacs has org-mode which handles text-based tables quite well, and allows exporting to multiple formats. However, one must use Emacs! Which as a Vim user I would prefer to avoid.










share|improve this question














Does such a thing exist? Text-based spreadsheets that display well in a CLI environment. I'm aware that I could cat foobar.csvand do as I please, but it isn't particularly practical or attractive. I cannot imagine it would be hard to format a table, and maybe follow certain rules (math?) as well.



Emacs has org-mode which handles text-based tables quite well, and allows exporting to multiple formats. However, one must use Emacs! Which as a Vim user I would prefer to avoid.







command-line text-processing csv






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 9 '11 at 7:03









SergeySergey

10615




10615












  • What is not practical or attractive? Do you need to use formulars, do you like to do interactive inserts? What do you need?

    – user unknown
    Nov 9 '11 at 16:39












  • @userunknown The readability of comma or tab separated values clearly suffers unless each value is of same width as all others.

    – Sergey
    Nov 9 '11 at 17:59






  • 1





    are you looking for read-write access to spreadsheets, or read-only access?

    – Tim Kennedy
    Nov 9 '11 at 21:51











  • @TimKennedy Ideally something that can replace Excel for basic tasks, but something that can output a spreadsheet with decent formatting would be great.

    – Sergey
    Nov 10 '11 at 17:10











  • @Sergey: Well - the readability is fine if you use tabs, and all values fall into the same length-range in multiples of 8, to be a bit more precise. Tabs where invented for this purpose.

    – user unknown
    Nov 10 '11 at 19:09

















  • What is not practical or attractive? Do you need to use formulars, do you like to do interactive inserts? What do you need?

    – user unknown
    Nov 9 '11 at 16:39












  • @userunknown The readability of comma or tab separated values clearly suffers unless each value is of same width as all others.

    – Sergey
    Nov 9 '11 at 17:59






  • 1





    are you looking for read-write access to spreadsheets, or read-only access?

    – Tim Kennedy
    Nov 9 '11 at 21:51











  • @TimKennedy Ideally something that can replace Excel for basic tasks, but something that can output a spreadsheet with decent formatting would be great.

    – Sergey
    Nov 10 '11 at 17:10











  • @Sergey: Well - the readability is fine if you use tabs, and all values fall into the same length-range in multiples of 8, to be a bit more precise. Tabs where invented for this purpose.

    – user unknown
    Nov 10 '11 at 19:09
















What is not practical or attractive? Do you need to use formulars, do you like to do interactive inserts? What do you need?

– user unknown
Nov 9 '11 at 16:39






What is not practical or attractive? Do you need to use formulars, do you like to do interactive inserts? What do you need?

– user unknown
Nov 9 '11 at 16:39














@userunknown The readability of comma or tab separated values clearly suffers unless each value is of same width as all others.

– Sergey
Nov 9 '11 at 17:59





@userunknown The readability of comma or tab separated values clearly suffers unless each value is of same width as all others.

– Sergey
Nov 9 '11 at 17:59




1




1





are you looking for read-write access to spreadsheets, or read-only access?

– Tim Kennedy
Nov 9 '11 at 21:51





are you looking for read-write access to spreadsheets, or read-only access?

– Tim Kennedy
Nov 9 '11 at 21:51













@TimKennedy Ideally something that can replace Excel for basic tasks, but something that can output a spreadsheet with decent formatting would be great.

– Sergey
Nov 10 '11 at 17:10





@TimKennedy Ideally something that can replace Excel for basic tasks, but something that can output a spreadsheet with decent formatting would be great.

– Sergey
Nov 10 '11 at 17:10













@Sergey: Well - the readability is fine if you use tabs, and all values fall into the same length-range in multiples of 8, to be a bit more precise. Tabs where invented for this purpose.

– user unknown
Nov 10 '11 at 19:09





@Sergey: Well - the readability is fine if you use tabs, and all values fall into the same length-range in multiples of 8, to be a bit more precise. Tabs where invented for this purpose.

– user unknown
Nov 10 '11 at 19:09










6 Answers
6






active

oldest

votes


















15














There's sc and oleo (neither of which I have any experience with). Being a GNU project, however, oleo's handling is more likely to be emacsesque than vimmy.






share|improve this answer




















  • 6





    According to the article I linked to, sc looks much more vimmy than oleo does.

    – cjm
    Nov 9 '11 at 7:47











  • I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

    – Sergey
    Nov 10 '11 at 17:11


















2














There's also slsc that is based on sc but with a friendlier user interface.



However it has as dependency libslang1 that is not actively developed (libslang2 is the current developed version) so the program itself is no longer developed.



Me and my piano teacher are planning to port it to libslang2 in order to see it back in repositories. :)






share|improve this answer




















  • 2





    You and your piano teacher, huh? How's that going?

    – Kazark
    Mar 22 '13 at 23:03


















1














There is an Org-Mode port to Vim.






share|improve this answer

























  • Can you add more detail?

    – Kazark
    Mar 22 '13 at 23:02











  • @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

    – Mike Fisher
    Mar 30 '13 at 19:15


















0














If you can find an old dos spread sheet ( for example 1-2-3 ), you should be able to run it via dosemu.



Bluntly if you search the web for downloadable dos spreadsheets you would find what I call "I-don't-care-ware." Stuff that it would be technically unlawful to download, but generally the copyright holder doesn't care.



One which you would be safe to try is VisiCalc.






share|improve this answer






























    0














    There is a Vim script called Spreadsheet.vim (and on github). From the description section of the linked page:




    This script lets you use vim as a spreadsheet, adding arithmetic calculations to your text files.



    Useful for bills, expenses, ratings and other numeric text templates.



    It provides three main functions:



    Get("cell")
    Set("cell", "value")
    Calculate("operation")



    Detailed instructions and examples are included in the script file.



    I have not yet compared this to the solutions mentioned by others. I suspect it has the disadvantage of not being as powerful as a specific spreadsheet program in some ways; but since it lets you use Vim itself, you receive another kind of powerful proportional to the greatness of your Vimfoo.



    One caveat is that it does not seem very portable:




    It uses 'bc' Linux OS comand for the Calculate function.




    However, since you asked this on U&L.SE, maybe that is not a problem for you.






    share|improve this answer























    • I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

      – horta
      Aug 25 '16 at 17:53


















    0














    I use and recommend visidata.



    It plays well with the shell – e.g. you can stick it at the end of your pipe. If



    bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah


    produces a tsv, then



    bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah|vd


    makes that tsv into an interactive (if you think ncurses is interactive) spreadsheet with plotting and pivot tables and mouse support :)



    visidata histogram, press shift-F



    You can add columns with Python expressions referring to other columns, or extend it with plugins. You can diff two csv's.



    You can also save your keypresses in vd to a file and then re-run them at a later stage – I've got some scripts to re-run an analysis and then run vd on it and immediately set all columns to floats and open the frequency table so I can see if I managed to lower the median this time.



    The docs and tutorials from the home page are pretty good, but if you learn better by watching than reading, there's a series of visdata youtube tutorials and showcases by the author.






    share|improve this answer























      Your Answer








      StackExchange.ready(function()
      var channelOptions =
      tags: "".split(" "),
      id: "106"
      ;
      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: false,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: null,
      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
      );



      );













      draft saved

      draft discarded


















      StackExchange.ready(
      function ()
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f24245%2fcommand-line-friendly-spreadsheets%23new-answer', 'question_page');

      );

      Post as a guest















      Required, but never shown

























      6 Answers
      6






      active

      oldest

      votes








      6 Answers
      6






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      15














      There's sc and oleo (neither of which I have any experience with). Being a GNU project, however, oleo's handling is more likely to be emacsesque than vimmy.






      share|improve this answer




















      • 6





        According to the article I linked to, sc looks much more vimmy than oleo does.

        – cjm
        Nov 9 '11 at 7:47











      • I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

        – Sergey
        Nov 10 '11 at 17:11















      15














      There's sc and oleo (neither of which I have any experience with). Being a GNU project, however, oleo's handling is more likely to be emacsesque than vimmy.






      share|improve this answer




















      • 6





        According to the article I linked to, sc looks much more vimmy than oleo does.

        – cjm
        Nov 9 '11 at 7:47











      • I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

        – Sergey
        Nov 10 '11 at 17:11













      15












      15








      15







      There's sc and oleo (neither of which I have any experience with). Being a GNU project, however, oleo's handling is more likely to be emacsesque than vimmy.






      share|improve this answer















      There's sc and oleo (neither of which I have any experience with). Being a GNU project, however, oleo's handling is more likely to be emacsesque than vimmy.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Nov 9 '11 at 7:46









      cjm

      20.9k67173




      20.9k67173










      answered Nov 9 '11 at 7:19









      Ulrich SchwarzUlrich Schwarz

      10.1k13148




      10.1k13148







      • 6





        According to the article I linked to, sc looks much more vimmy than oleo does.

        – cjm
        Nov 9 '11 at 7:47











      • I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

        – Sergey
        Nov 10 '11 at 17:11












      • 6





        According to the article I linked to, sc looks much more vimmy than oleo does.

        – cjm
        Nov 9 '11 at 7:47











      • I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

        – Sergey
        Nov 10 '11 at 17:11







      6




      6





      According to the article I linked to, sc looks much more vimmy than oleo does.

      – cjm
      Nov 9 '11 at 7:47





      According to the article I linked to, sc looks much more vimmy than oleo does.

      – cjm
      Nov 9 '11 at 7:47













      I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

      – Sergey
      Nov 10 '11 at 17:11





      I just gave sc a try. It doesn't seem to play well with screen, at least for me. I will give it some more time and see if I can deal with it. vi navigation, so far, is a blessing.

      – Sergey
      Nov 10 '11 at 17:11













      2














      There's also slsc that is based on sc but with a friendlier user interface.



      However it has as dependency libslang1 that is not actively developed (libslang2 is the current developed version) so the program itself is no longer developed.



      Me and my piano teacher are planning to port it to libslang2 in order to see it back in repositories. :)






      share|improve this answer




















      • 2





        You and your piano teacher, huh? How's that going?

        – Kazark
        Mar 22 '13 at 23:03















      2














      There's also slsc that is based on sc but with a friendlier user interface.



      However it has as dependency libslang1 that is not actively developed (libslang2 is the current developed version) so the program itself is no longer developed.



      Me and my piano teacher are planning to port it to libslang2 in order to see it back in repositories. :)






      share|improve this answer




















      • 2





        You and your piano teacher, huh? How's that going?

        – Kazark
        Mar 22 '13 at 23:03













      2












      2








      2







      There's also slsc that is based on sc but with a friendlier user interface.



      However it has as dependency libslang1 that is not actively developed (libslang2 is the current developed version) so the program itself is no longer developed.



      Me and my piano teacher are planning to port it to libslang2 in order to see it back in repositories. :)






      share|improve this answer















      There's also slsc that is based on sc but with a friendlier user interface.



      However it has as dependency libslang1 that is not actively developed (libslang2 is the current developed version) so the program itself is no longer developed.



      Me and my piano teacher are planning to port it to libslang2 in order to see it back in repositories. :)







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Mar 23 '13 at 0:25









      Kazark

      6002829




      6002829










      answered Nov 14 '11 at 22:07









      Matteo CeccarelloMatteo Ceccarello

      6814




      6814







      • 2





        You and your piano teacher, huh? How's that going?

        – Kazark
        Mar 22 '13 at 23:03












      • 2





        You and your piano teacher, huh? How's that going?

        – Kazark
        Mar 22 '13 at 23:03







      2




      2





      You and your piano teacher, huh? How's that going?

      – Kazark
      Mar 22 '13 at 23:03





      You and your piano teacher, huh? How's that going?

      – Kazark
      Mar 22 '13 at 23:03











      1














      There is an Org-Mode port to Vim.






      share|improve this answer

























      • Can you add more detail?

        – Kazark
        Mar 22 '13 at 23:02











      • @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

        – Mike Fisher
        Mar 30 '13 at 19:15















      1














      There is an Org-Mode port to Vim.






      share|improve this answer

























      • Can you add more detail?

        – Kazark
        Mar 22 '13 at 23:02











      • @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

        – Mike Fisher
        Mar 30 '13 at 19:15













      1












      1








      1







      There is an Org-Mode port to Vim.






      share|improve this answer















      There is an Org-Mode port to Vim.







      share|improve this answer














      share|improve this answer



      share|improve this answer








      edited Mar 23 '13 at 0:25









      Kazark

      6002829




      6002829










      answered Nov 9 '11 at 21:53









      Mike FisherMike Fisher

      111




      111












      • Can you add more detail?

        – Kazark
        Mar 22 '13 at 23:02











      • @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

        – Mike Fisher
        Mar 30 '13 at 19:15

















      • Can you add more detail?

        – Kazark
        Mar 22 '13 at 23:02











      • @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

        – Mike Fisher
        Mar 30 '13 at 19:15
















      Can you add more detail?

      – Kazark
      Mar 22 '13 at 23:02





      Can you add more detail?

      – Kazark
      Mar 22 '13 at 23:02













      @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

      – Mike Fisher
      Mar 30 '13 at 19:15





      @Kazark: Thanks for cleaning up my link! The original question indicated familiarity with Org Mode, particularly with Org Mode's Spreadsheet, but was not enthusiastic about Emacs. I wanted to share the Vim alternative.

      – Mike Fisher
      Mar 30 '13 at 19:15











      0














      If you can find an old dos spread sheet ( for example 1-2-3 ), you should be able to run it via dosemu.



      Bluntly if you search the web for downloadable dos spreadsheets you would find what I call "I-don't-care-ware." Stuff that it would be technically unlawful to download, but generally the copyright holder doesn't care.



      One which you would be safe to try is VisiCalc.






      share|improve this answer



























        0














        If you can find an old dos spread sheet ( for example 1-2-3 ), you should be able to run it via dosemu.



        Bluntly if you search the web for downloadable dos spreadsheets you would find what I call "I-don't-care-ware." Stuff that it would be technically unlawful to download, but generally the copyright holder doesn't care.



        One which you would be safe to try is VisiCalc.






        share|improve this answer

























          0












          0








          0







          If you can find an old dos spread sheet ( for example 1-2-3 ), you should be able to run it via dosemu.



          Bluntly if you search the web for downloadable dos spreadsheets you would find what I call "I-don't-care-ware." Stuff that it would be technically unlawful to download, but generally the copyright holder doesn't care.



          One which you would be safe to try is VisiCalc.






          share|improve this answer













          If you can find an old dos spread sheet ( for example 1-2-3 ), you should be able to run it via dosemu.



          Bluntly if you search the web for downloadable dos spreadsheets you would find what I call "I-don't-care-ware." Stuff that it would be technically unlawful to download, but generally the copyright holder doesn't care.



          One which you would be safe to try is VisiCalc.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 9 '11 at 9:22









          HandyGandyHandyGandy

          1,2161527




          1,2161527





















              0














              There is a Vim script called Spreadsheet.vim (and on github). From the description section of the linked page:




              This script lets you use vim as a spreadsheet, adding arithmetic calculations to your text files.



              Useful for bills, expenses, ratings and other numeric text templates.



              It provides three main functions:



              Get("cell")
              Set("cell", "value")
              Calculate("operation")



              Detailed instructions and examples are included in the script file.



              I have not yet compared this to the solutions mentioned by others. I suspect it has the disadvantage of not being as powerful as a specific spreadsheet program in some ways; but since it lets you use Vim itself, you receive another kind of powerful proportional to the greatness of your Vimfoo.



              One caveat is that it does not seem very portable:




              It uses 'bc' Linux OS comand for the Calculate function.




              However, since you asked this on U&L.SE, maybe that is not a problem for you.






              share|improve this answer























              • I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

                – horta
                Aug 25 '16 at 17:53















              0














              There is a Vim script called Spreadsheet.vim (and on github). From the description section of the linked page:




              This script lets you use vim as a spreadsheet, adding arithmetic calculations to your text files.



              Useful for bills, expenses, ratings and other numeric text templates.



              It provides three main functions:



              Get("cell")
              Set("cell", "value")
              Calculate("operation")



              Detailed instructions and examples are included in the script file.



              I have not yet compared this to the solutions mentioned by others. I suspect it has the disadvantage of not being as powerful as a specific spreadsheet program in some ways; but since it lets you use Vim itself, you receive another kind of powerful proportional to the greatness of your Vimfoo.



              One caveat is that it does not seem very portable:




              It uses 'bc' Linux OS comand for the Calculate function.




              However, since you asked this on U&L.SE, maybe that is not a problem for you.






              share|improve this answer























              • I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

                – horta
                Aug 25 '16 at 17:53













              0












              0








              0







              There is a Vim script called Spreadsheet.vim (and on github). From the description section of the linked page:




              This script lets you use vim as a spreadsheet, adding arithmetic calculations to your text files.



              Useful for bills, expenses, ratings and other numeric text templates.



              It provides three main functions:



              Get("cell")
              Set("cell", "value")
              Calculate("operation")



              Detailed instructions and examples are included in the script file.



              I have not yet compared this to the solutions mentioned by others. I suspect it has the disadvantage of not being as powerful as a specific spreadsheet program in some ways; but since it lets you use Vim itself, you receive another kind of powerful proportional to the greatness of your Vimfoo.



              One caveat is that it does not seem very portable:




              It uses 'bc' Linux OS comand for the Calculate function.




              However, since you asked this on U&L.SE, maybe that is not a problem for you.






              share|improve this answer













              There is a Vim script called Spreadsheet.vim (and on github). From the description section of the linked page:




              This script lets you use vim as a spreadsheet, adding arithmetic calculations to your text files.



              Useful for bills, expenses, ratings and other numeric text templates.



              It provides three main functions:



              Get("cell")
              Set("cell", "value")
              Calculate("operation")



              Detailed instructions and examples are included in the script file.



              I have not yet compared this to the solutions mentioned by others. I suspect it has the disadvantage of not being as powerful as a specific spreadsheet program in some ways; but since it lets you use Vim itself, you receive another kind of powerful proportional to the greatness of your Vimfoo.



              One caveat is that it does not seem very portable:




              It uses 'bc' Linux OS comand for the Calculate function.




              However, since you asked this on U&L.SE, maybe that is not a problem for you.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Mar 22 '13 at 23:13









              KazarkKazark

              6002829




              6002829












              • I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

                – horta
                Aug 25 '16 at 17:53

















              • I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

                – horta
                Aug 25 '16 at 17:53
















              I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

              – horta
              Aug 25 '16 at 17:53





              I tried this on Windows and yes, I ran into the 'bc' issue. Even if this did work, from what I can tell, this is extremely verbose and limited in terms of what it can do. It's more like adding math in a horribly verbose manner to Vim than doing anything like a spreadsheet.

              – horta
              Aug 25 '16 at 17:53











              0














              I use and recommend visidata.



              It plays well with the shell – e.g. you can stick it at the end of your pipe. If



              bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah


              produces a tsv, then



              bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah|vd


              makes that tsv into an interactive (if you think ncurses is interactive) spreadsheet with plotting and pivot tables and mouse support :)



              visidata histogram, press shift-F



              You can add columns with Python expressions referring to other columns, or extend it with plugins. You can diff two csv's.



              You can also save your keypresses in vd to a file and then re-run them at a later stage – I've got some scripts to re-run an analysis and then run vd on it and immediately set all columns to floats and open the frequency table so I can see if I managed to lower the median this time.



              The docs and tutorials from the home page are pretty good, but if you learn better by watching than reading, there's a series of visdata youtube tutorials and showcases by the author.






              share|improve this answer



























                0














                I use and recommend visidata.



                It plays well with the shell – e.g. you can stick it at the end of your pipe. If



                bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah


                produces a tsv, then



                bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah|vd


                makes that tsv into an interactive (if you think ncurses is interactive) spreadsheet with plotting and pivot tables and mouse support :)



                visidata histogram, press shift-F



                You can add columns with Python expressions referring to other columns, or extend it with plugins. You can diff two csv's.



                You can also save your keypresses in vd to a file and then re-run them at a later stage – I've got some scripts to re-run an analysis and then run vd on it and immediately set all columns to floats and open the frequency table so I can see if I managed to lower the median this time.



                The docs and tutorials from the home page are pretty good, but if you learn better by watching than reading, there's a series of visdata youtube tutorials and showcases by the author.






                share|improve this answer

























                  0












                  0








                  0







                  I use and recommend visidata.



                  It plays well with the shell – e.g. you can stick it at the end of your pipe. If



                  bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah


                  produces a tsv, then



                  bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah|vd


                  makes that tsv into an interactive (if you think ncurses is interactive) spreadsheet with plotting and pivot tables and mouse support :)



                  visidata histogram, press shift-F



                  You can add columns with Python expressions referring to other columns, or extend it with plugins. You can diff two csv's.



                  You can also save your keypresses in vd to a file and then re-run them at a later stage – I've got some scripts to re-run an analysis and then run vd on it and immediately set all columns to floats and open the frequency table so I can see if I managed to lower the median this time.



                  The docs and tutorials from the home page are pretty good, but if you learn better by watching than reading, there's a series of visdata youtube tutorials and showcases by the author.






                  share|improve this answer













                  I use and recommend visidata.



                  It plays well with the shell – e.g. you can stick it at the end of your pipe. If



                  bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah


                  produces a tsv, then



                  bzcat foo.bz2|sort|uniq -c|sort -nr | awk -f munge.awk |blah|vd


                  makes that tsv into an interactive (if you think ncurses is interactive) spreadsheet with plotting and pivot tables and mouse support :)



                  visidata histogram, press shift-F



                  You can add columns with Python expressions referring to other columns, or extend it with plugins. You can diff two csv's.



                  You can also save your keypresses in vd to a file and then re-run them at a later stage – I've got some scripts to re-run an analysis and then run vd on it and immediately set all columns to floats and open the frequency table so I can see if I managed to lower the median this time.



                  The docs and tutorials from the home page are pretty good, but if you learn better by watching than reading, there's a series of visdata youtube tutorials and showcases by the author.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered 2 days ago









                  unhammerunhammer

                  17211




                  17211



























                      draft saved

                      draft discarded
















































                      Thanks for contributing an answer to Unix & Linux Stack Exchange!


                      • 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%2funix.stackexchange.com%2fquestions%2f24245%2fcommand-line-friendly-spreadsheets%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







                      wVEHr,HlazDaP5o quIv7VygU4sMqsXwOqZknxe73ZKAhR32g1WKnM hw67mh
                      d WuCIErmh,W4WgHjtlYUcuKH,mKcprjOXbqrrQe,m2P,Ig2x

                      Popular posts from this blog

                      getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

                      NetworkManager fails with “Could not find source connection”Trouble connecting to VPN using network-manager, while command line worksHow can I be notified about state changes to a VPN adapterBacktrack 5 R3 - Refuses to connect to VPNFeed all traffic through OpenVPN for a specific network namespace onlyRun daemon on startup in Debian once openvpn connection establishedpfsense tcp connection between openvpn and lan is brokenInternet connection problem with web browsers onlyWhy does NetworkManager explicitly support tun/tap devices?Browser issues with VPNTwo IP addresses assigned to the same network card - OpenVPN issues?Cannot connect to WiFi with nmcli, although secrets are provided

                      Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.