This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-15
Channels
- # announcements (5)
- # architecture (17)
- # aws (2)
- # bangalore-clj (1)
- # beginners (157)
- # boot (22)
- # boot-dev (2)
- # cider (64)
- # clara (2)
- # cljs-dev (3)
- # clojure (30)
- # clojure-art (2)
- # clojure-australia (1)
- # clojure-belgium (1)
- # clojure-denver (1)
- # clojure-dusseldorf (1)
- # clojure-europe (8)
- # clojure-finland (2)
- # clojure-italy (9)
- # clojure-nl (21)
- # clojure-spec (261)
- # clojure-switzerland (3)
- # clojure-uk (67)
- # clojurescript (57)
- # clojurewerkz (2)
- # cursive (3)
- # datomic (27)
- # emacs (12)
- # figwheel-main (2)
- # fulcro (48)
- # garden (67)
- # graphql (41)
- # jobs (8)
- # kaocha (8)
- # liberator (2)
- # lumo (1)
- # off-topic (19)
- # parinfer (9)
- # perun (4)
- # re-frame (50)
- # reagent (7)
- # remote-jobs (4)
- # ring-swagger (20)
- # rum (6)
- # shadow-cljs (170)
- # specter (3)
- # tools-deps (19)
- # vim (3)
Question: does anyone know of any projects using Clojure for Formal Verification?
@functionaltom LaTTe is a proof assistant for Clojure https://github.com/latte-central/LaTTe
Awesome. Thank you very much for this!
I need to grep on a file like this
grep -E "Do foo*" ./foo_2018-01-01.log >> cleansed-log-2018-01-01.log
then i need to do it for 3 months forward.. I have 90 files which I want to get a certain result out of and write to a file. Would one make a shell-script for this?I think for f in foo_2018-*; do grep blah "$f" > "${f/foo_/cleansed-log}"; done
is about what you need
So use globbing and a for loop for the iteration, and Bash variable substitution for the filename transformation.
There is also always find . -name foo_2018-* | xargs grep ...
I don't want to type the above command 90 times :')
i guess i could use (grep -E "Do foo*" ./foo_2018-01-01.log >> cleansed-log-2018-01-01.log; (grep -E "Do foo*" ./foo_2018-01-01.log >> cleansed-log-2018-01-01.log; )?
Note that your regex is probably missing a .
, it would match Do fooooo
but not Do foobar
You probably want grep -E "Do foo.*"
instead
while we are on the topic of bash, on MacOS, I have a script that backgrounds some inifinite task (with &
), now I can retrieve its PID with $!
, but how can I stop it together with its children.
I tried sending a SIGINT to the parent in the hope that it would kill its children, but to no success
Yeah would say so too, but that is sadly not happening