Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group