Skip to content

u/timlin45

In this archive from Sep 2012 to Jul 2026

2
posts
33
comments
0
media
133
score
1 saved before deletion

Top posts

Top comments

In our 1e game we were about 3 rounds away from getting destroyed by a pack (30+) of warg riding orcs. That's when my wife busted out rope trick to create the perfect hidey hole for our little party. Watching the DM desparately trying to find a way to have them detect us was wonderful.

The next good one was using rope trick and a very strong gnome to load the little bubble with sharpened iron and having him pop it at exactly the right time.

7 points

Really I'd just use grep -v. If I really had to do it inline I use perl pie.

perl -pi -e '/string I want to omit/ && $_ = q()' my-big-text-file.txt

Alternatively you can use -n if you want don't want to futz with emptying $_ to conditionally omit lines. The golfing way would be

perl -ni -e '/string I want to omit/ || print' my-big-text-file.txt

A more verbose/readable way

perl -ni -e 'if ($_ =~ m/string I want to omit/){ 1; } else { print $_}' my-big-test-file.txt
4 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.