TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Testing for Posix Compliance with Chimera Linux

2 pointsby urxvtcdabout 2 years ago

2 comments

q66about 2 years ago
sed -i does work in bsd-type environments (in fact, freebsd and gnu added the -i argument around the same time, in early 2002), the main difference is that bsd variants follow strict getopt shortopt parsing (i.e. no optional values, and -i always takes a suffix, with -i &#x27;&#x27; being equivalent to just -i in gnu) while gnu sed -i is quirky and reliant on its own getopt extensions (in gnu, sed -i &#x27;&#x27; does not work, but sed -i&#x27;&#x27; does)<p>the common portable invocation is something like `sed -ibak`, which works in both variants, and then remove the backup file; as far as i know, there is no way to portably invoke sed that does <i>not</i> backup
coldbluesabout 2 years ago
I&#x27;ve recently tried the distribution and I really like it. It&#x27;s pretty much the successor of Void Linux.