Article 5729C LXer: How to do a both/neither/one/other tally

LXer: How to do a both/neither/one/other tally

by
LXer
from LinuxQuestions.org on (#5729C)
Published at LXer:

A routine check I do on data tables is to see if paired fields are either both filled or both empty in each record. By "paired fields" I mean, for example, a latitude field and a longitude field. It doesn't make much sense to have a latitude without a longitude, or vice versa! The command described here will tally up the "both filled", "both empty", "only the first filled" and "only the second filled" entries.

Read More...latest?d=yIl2AUoC8zA latest?i=kA4V6kuhN-Y:z_nv6SJvMZ8:F7zBnMy latest?i=kA4V6kuhN-Y:z_nv6SJvMZ8:V_sGLiP latest?d=qj6IDK7rITs latest?i=kA4V6kuhN-Y:z_nv6SJvMZ8:gIN9vFwkA4V6kuhN-Y
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments