No, because we’re telling to use :
as a separator with the -F flag
- 0 Posts
- 6 Comments
Not sure if I’m understanding, but can’t you just pipe the whole thing to
awk
and capture the first field? Likeecho "/dev/loop0: [2081]:64 (/a/path/to/afile.dat)" | awk -F: '{print $1}'
Which would print
/dev/loop0
mmmm@sopuli.xyzto Today I Learned@lemmy.world•TIL that in 1975, after Gillette introduced a two-blade cartridge razor, Saturday Night Live aired a fake commercial for a three-blade razor. Gillette introduced one in 1998. In 2004, a satirical ...English6·1 month agoYes, shaving is a chore - when you have to do it on a daily basis.
As a professional bald fart for more than 15 years, one of the reasons I’m thankful to be able to work from home is that I no longer need to shave head+beard on a daily basis. I really dislike the “shade” so always tried to shave as close to the skin as possible, which took me up to half an hour. Now that I have a job I get to look like one of those wojak characters with aggressive baldness and not worry about shaving for days.
Granted, with a safety razor that time came down to like 20-25 minutes and got less nicks than with a disposable razor. But when I had the chance to get a Leaf razor that came down to 15-20 minutes and never got nicks again. And with that one it’s like the best of the two worlds - multiple blades to speed and make easier the shaving process and the non-disposable razor with real cheap and superb blades.
mmmm@sopuli.xyzto Lemmy Shitpost@lemmy.world•If it's good enough to keep your house warm, it's good enough to keep your insides warm1·1 month agoIt’s because they think being dumb makes them tough.
To each his own, and though I have never consumed any kind of drugs nor think I ever will (nor can’t understand the need of drugs beyond medical field, pretty much contrary of what it is stated in the quote of this post), I concede keeping it illegal while at the same time alcohol and nicotine are both completely legal is one of the reasons I still think our so-called “civilization” is extremely idiotic, mediocre and pathetic. Either make all of them legal but regulate their consumption or make it so it never bothers anyone else or anything else in any way, or make all of them illegal - but the disparity of current legislation about all of them around the world is just nonsense.
I suppose it’s like asking a biologist what type of dishes would they do with a plant species they just discovered