Hacker News new | past | comments | ask | show | jobs | submit login

If one was going to use a non-printable character as a delimiter, why wouldn't they use the literal record separator "\030"?



Every time you cat a BSV file, your terminal beeps like it's throwing a tantrum. A record separator (RS) based file would be missing this feature! In other words, my previous comment was just a joke! :)

By the way, RS is decimal 30 (not octal '\030'). In octal, RS is '\036'. For example:

  $ printf '\036' | xxd -p
  1e
  $ printf '\x1e' | xxd -p
  1e
See also https://en.cppreference.com/w/cpp/language/ascii for confirmation.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: