Segmentation fault in awk pipeline
- Dominant language
- Perl
- Stars
- 3.9k
- Forks
- 213
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Description
a-shell up-to-date,App Store claims version is 1.15.3
```
$ file Untitled.jpg | grep -o '\(precision.*$\)'| awk -F , '{ print $2 }'| awk -F x '{ print $1 }'
15402
segmentation fault
$
```
Leaving off the last awk does not have a segmentation fault.
```
$ file Untitled.jpg | grep -o '\(precision.*$\)'| awk -F , '{ print $2 }'
15402x5360
```
```
$ file Untitled.jpg | grep -o '\(precision.*$\)'
precision 8, 15402x5360, components 3
```
```
$ file Untitled.jpg
Untitled.jpg: JPEG image data, JFIF standard 1.01, resolution (DPI), density 72x72, segment length 16, Exif Standard: [TIFF image data, big-endian, direntries=11, manufacturer=Canon, model=Canon EOS R7, orientation=upper-left, xresolution=166, yresolution=174, resolutionunit=2, datetime=2025:03:13 22:33:23], baseline, precision 8, 15402x5360, components 3
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.