grep “thing I want” !$
Bash (and similar) will replace !$ with the last parameter of the previous command.This is a trick I’ve used lots when wanting to perform a non-piping operation on a command I’ve ‘cat’ed (eg ‘rm -v !$’)
I’d never criticise anyone for “useless” use of ‘cat’ though. If the fork() overhead was really that critical then it wouldn’t be a shell command to begin with.
Then I can look at it before hitting return
I mean, if banks and insurance are willing to rely on this technology, and it is spoofable… then it’s just going to be the Wild West for fraud.
Billion dollar companies (software and hardware) have been working on this C2PA specification to provide provenance for images. Did this image really come from this camera? From this news organization? After years and effort and endless meetings and this thing written in the most secure language ever, rust, doesn’t work? Come on!
1. When opening a file that is already open in another editor in another terminal, Vim gives me many options, but it doesn't give me the option to kill the other process (or ask that process to save its buffer and exit).
2. My .vimrc should really follow me around automatically. Too often I find myself installing a new machine and missing my settings. I don't know how it should be implemented, but this is something that should work. Edit: if SSH can pass the DISPLAY variable around, then it could do the same with (a key to) .vimrc. Once a .vimrc is associated with an account, it will stay there, so if I log into the machine from the console, I should have my .vimrc (this also happens to the .Xauthority file, although less useful). This could also apply to other settings, of course. And it would be even better if my Vim binary followed me around too, but this is perhaps too futuristic.
vim scp://user@myserver[:port]//path/to/file.txt
Saw a reduction in crying at 9 weeks starting this. 2nd child was started immediately. Saved so much by avoiding diapers.