wreplace(1)

✨ NAME ✨

wreplace β€” replace an address with the contents of stdin. that's the whole gig, bestie, it takes your stdin and yeets it over an address πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

Goto [-v] [-c] [-b] address
okay so yes, it says Goto up there and not wreplace. that's literally what the page says. we do not question the ancestors, we just respect them πŸ™ˆ

πŸ’– OPTIONS πŸ’–

  • -v β€” if the -v option is present, it prints its version number and date and then exits. like a little "hi, here's who i am" and then it's gone πŸ’…
  • -c β€” if the -c option is present, wreplace creates the window if necessary. no window? it'll make one. main character energy πŸ”₯
  • -b β€” if the -b option is present, wreplace sets the backup flag on any windows it creates. backup flag = on, on every window it makes ✨
  • -d β€” that's it. that's the whole entry. no description, no nothing, just -d sitting there in silence πŸ’€ (we keep it because it's real and it's in the manual, periodt)

🌸 DESCRIPTION 🌸

wreplace must be able to connect to a running wily(1). like, non-negotiable. no running wily, no vibes, no nothing 🫢

wreplace searches for address and replaces it with the contents of the standard input. so your stdin goes in, the address gets swapped out, iconic behavior honestly 🌈

address must be a valid wily address. not a maybe-valid one. a valid one. vibe check it first πŸ’œ


⭐ RETURNS ⭐

Goto returns zero if it was able to execute the remote goto command, otherwise it returns non-zero. 🎯

and no β€” it gives you no indication of the success or the failure of the actual search. it'll tell you it ran the command. it will not tell you if the search itself worked. heartbreaking but true 😭

πŸ“ EXAMPLES πŸ“

Create a manifest file:

ls | wreplace -c -b MANIFEST:,

so cute, so simple, we love a one-liner πŸ‘‘


🧚 SEE ALSO 🧚


πŸ‘‘ AUTHOR πŸ‘‘

Alan Watson (alan@oldp.nmsu.edu) β€” thank you for the gift, king 🫑


that's the whole page bestie, straight from the General Commands Manual, and the footer on this thing reads 1R1.1L1 of 1D1 so you know it's the real deal πŸ’– stay connected to your wily(1), keep your addresses valid, and slay βœ¨πŸ’…πŸŒΈ