• JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      4 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.

    • lemmesay@discuss.tchncs.de
      link
      fedilink
      arrow-up
      2
      ·
      4 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
      >