cat infile | translate all occurences of "NOT NULL" to ""

From: "Dan Browning" <danb(at)cyclonecomputers(dot)com>
To: <pgsql-novice(at)postgresql(dot)org>, <redhat-list(at)redhat(dot)com>, <jsokel(at)mdsi-usa(dot)com>
Subject: cat infile | translate all occurences of "NOT NULL" to ""
Date: 2000-09-11 14:15:59
Message-ID: 004201c01bfa$cfd17ac0$1500000a@danb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

what command do I use to substitute all occurences of a certain string (say,
"NOT NULL") with another arbitrary string, (e.g. "")? I've tried grep and
tr, but can't figure it out.

Thanks,

Dan Browning
Network & Database Administrator
Cyclone Computer Systems

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tamsin 2000-09-11 14:36:32 RE: cat infile | translate all occurences of "NOT NULL" to ""
Previous Message Sokel, John 2000-09-11 14:06:24 RE: Copy