Hacker News new | ask | show | jobs
by kritixilithos 2684 days ago
Actually the following is even shorter

  /A/{N;d;}
So all together this gives the following

  ls|sed '/A/{N;d;}'