BlendIT - BSD Cafe
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@majestictechie@lemmy.fosshost.com to Linux@lemmy.mlEnglish • 8 months ago

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

lemmy.fosshost.com

message-square
329
fedilink
804

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

lemmy.fosshost.com

@majestictechie@lemmy.fosshost.com to Linux@lemmy.mlEnglish • 8 months ago
message-square
329
fedilink
  • @jaybone@lemmy.world
    link
    fedilink
    34•8 months ago

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

    • @lemmesay@discuss.tchncs.de
      link
      fedilink
      20•8 months ago

      • @datelmd5sum@lemmy.world
        link
        fedilink
        7•8 months ago

        cat pipeing is safer though.

        foobar > file and your file is gone.

        • @wise_pancake@lemmy.ca
          link
          fedilink
          2•8 months ago

          You can always alias > to < in your shell.

          • @fossphi@lemm.ee
            link
            fedilink
            English
            1•8 months ago

            Get out!

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

        <file foobar

        • @Trail@lemmy.world
          link
          fedilink
          2•8 months ago

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

          • @lemmesay@discuss.tchncs.de
            link
            fedilink
            4•8 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•8 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
      6•8 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!

      • @thevoidzero@lemmy.world
        link
        fedilink
        7•8 months ago

        M-x M-c butterfly

        • Sundray
          link
          fedilink
          English
          3•8 months ago

          Link.

Linux@lemmy.ml

!linux@lemmy.ml

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: !linux@lemmy.ml

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

  • !opensource@lemmy.ml
  • !libre_culture@lemmy.ml
  • !technology@lemmy.ml
  • !libre_hardware@lemmy.ml

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

  • 1.47K users / day
  • 4.04K users / week
  • 8.29K users / month
  • 17.4K users / 6 months
  • 54K subscribers
  • 1.76K Posts
  • 36.4K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @nooter692@lemmy.ml
  • @MarcellusDrum@lemmy.ml
  • Arthur Besse
  • Cyclohexane
  • @d3Xt3r@lemmy.nz
  • UI: unknown version
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org