[email protected]
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to [email protected]English • 9 months ago

How dare you use a text editor because it's easy to use

lemmy.fosshost.com

message-square
326
fedilink
794

How dare you use a text editor because it's easy to use

lemmy.fosshost.com

@[email protected] to [email protected]English • 9 months ago
message-square
326
fedilink
  • @[email protected]
    link
    fedilink
    32•9 months ago

    You noobs. I just use combinations of cat piped to sed to edit my files, which are mainly lisp code.

    • @[email protected]
      link
      fedilink
      20•9 months ago

      • @[email protected]
        link
        fedilink
        7•9 months ago

        cat pipeing is safer though.

        foobar > file and your file is gone.

        • @[email protected]
          link
          fedilink
          2•9 months ago

          You can always alias > to < in your shell.

          • @[email protected]
            link
            fedilink
            English
            1•9 months ago

            Get out!

      • JackbyDev
        link
        fedilink
        English
        5•
        edit-2
        9 months ago

        <file foobar

        • @[email protected]
          link
          fedilink
          2•9 months ago

          Huh does that actually work? Don’t have a system handy to try it out.

          • @[email protected]
            link
            fedilink
            4•9 months ago

            showing the output in termux

            storage/documents/programs ro
            > echo puts "hello world" > main.rb
            
            storage/documents/programs ro via rb
            > ls
            c  js  main.rb  python
            
            storage/documents/programs ro via rb
            > < main.rb grep hello
            puts hello world
            
            storage/documents/programs ro via rb
            >
            
          • JackbyDev
            link
            fedilink
            English
            2•9 months ago

            I think so! I think it’s something like < file works anywhere in the line, not just the end. There may be some specifics about no space when it is the front but I don’t remember lol.

    • Wren
      link
      fedilink
      English
      5•9 months ago

      Amateur! I write my code down on a piece of paper, scan it in, send it to my computer through email, then make a custom-built AI read the paper and print it in the terminal!

      • @[email protected]
        link
        fedilink
        6•9 months ago

        M-x M-c butterfly

        • Sundray
          link
          fedilink
          English
          2•9 months ago

          Link.

[email protected]

[email protected]

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

  • [email protected]
  • [email protected]
  • [email protected]
  • [email protected]

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

  • 1.62K users / day
  • 3K users / week
  • 6.57K users / month
  • 17.3K users / 6 months
  • 54.8K subscribers
  • 7.83K Posts
  • 210K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • @[email protected]
  • Arthur Besse
  • Cyclohexane
  • @[email protected]
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org