Navigation

    CFD中文网

    CFD中文网

    • Login
    • Search
    • 最新

    openfoam数据处理

    OpenFOAM
    3
    5
    293
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 氕
      氕氘-川 last edited by

      36faa2a4-1fae-46fd-a4ce-32d979b0dcd4-image.png
      问一下大家,有没有 .sh脚本可以把这一列数据变为多行多列啊?

      1 Reply Last reply Reply Quote
      • bestucan
        bestucan 版主 副教授 last edited by

        搜vim、emacs、vscode + 多行编辑。

        还有其他可能要用的功能:块编辑、正则表达式替换

        滚来滚去……~(~o ̄▽ ̄)~o 滚来滚去都不能让大家看出来我不是老师么 O_o

        异步沟通方式(《posting style》from wiki)(下载后打开):
        https://www.jianguoyun.com/p/Dc52X2sQsLv2BRiqnKYD
        提问的智慧(github在gitee的镜像):
        https://gitee.com/bestucan/How-To-Ask-Questions-The-Smart-Way/blob/master/README-zh_CN.md

        X 氕 2 Replies Last reply Reply Quote
        • X
          xpqiu 教授 @bestucan last edited by

          @bestucan

          vim 打开文件,然后跳到开始的行,按大 V 进入行高亮模式,然后向下键一直到结束的行,正常的话你要的数据应该都被高亮选中了,然后,按大J,就可以了。

          PS: "向下键一直到结束的行" 这个操作有很多捷径,这里只是选了一种最慢但最直观的方式。

          氕 1 Reply Last reply Reply Quote
          • 氕
            氕氘-川 @xpqiu last edited by

            @xpqiu 谢谢老师:146:

            1 Reply Last reply Reply Quote
            • 氕
              氕氘-川 @bestucan last edited by

              @bestucan 谢谢老师:146:

              1 Reply Last reply Reply Quote
              • First post
                Last post

              CFD中文网 | 东岳流体 | 京ICP备15017992号-2