Hi,
I would like to concat to greps to eachother.
p.e.
file: 016-00.txt
job started: thursday 15 july at 23:00:09
file: 017-01.txt
job started: friday 16 july at 23:00:08
output after the grep
016-thursday 15 july at 23:00:09
017-friday 16 july at 23:00:08
I was thinking about:
grep 'Job started: ' *txt | cut -c 1-4 (concat) grep 'Job started: ' *txt | cut -c 25-100
I dont know what to use in stead of the (concat)
Can anyone help me?
I would like to concat to greps to eachother.
p.e.
file: 016-00.txt
job started: thursday 15 july at 23:00:09
file: 017-01.txt
job started: friday 16 july at 23:00:08
output after the grep
016-thursday 15 july at 23:00:09
017-friday 16 july at 23:00:08
I was thinking about:
grep 'Job started: ' *txt | cut -c 1-4 (concat) grep 'Job started: ' *txt | cut -c 25-100
I dont know what to use in stead of the (concat)
Can anyone help me?