It depends on "why" you want to check the version OS Version %lu: %s: transform strings are not the same length %lu: %s: unterminated transform target string %lu: %s: unterminated transform source string %lu: %s: transform pattern can not be delimited by newline or backslash %lu: %s: bad flag in substitute command: '%c' %lu: %s: overflow in the 'N' substitute flag %lu: %s: more than one number or 'g' in substitute flags %lu: %s: unterminated substitute in regular expression %lu: %s: unescaped newline inside substitute pattern %lu: %s: newline can not be used as a string delimiter %lu: %s: \ can not be used as a string delimiter %lu: %s: extra text at the end of a transform command %lu: %s: substitute pattern can not be delimited by newline or backslash %lu: %s: extra characters after \ at the end of %c command %lu: %s: command %c expects \ followed by text %lu: %s: extra characters at the end of %c command %lu: %s: command %c expects up to %d address(es), found %d $FreeBSD: src/usr.bin/sed/process.c,v 1.39 9 14:31:41 stefanf Exp PROJECT:text_cmds-88 There is not even a version number in the binary: $ strings $(which sed) Mac OS X sed has no option to show the version number. This probably isn't the answer you're looking for, but you can't.
0 Comments
Leave a Reply. |