Created
February 6, 2012 17:27
-
-
Save spara/1753496 to your computer and use it in GitHub Desktop.
adding create table and closing paren
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Finish the script by adding a create table statement | |
| # using your favorite editor or on the command line. | |
| # Note that this version of sed does not have inplace | |
| # editing, so a tmp file is used | |
| # | |
| $ sed '1s/^/CREATE TABLE campust_dropout_raw( /' campus_dropout.sql > tmp | |
| $ sed '$s/$/ varchar);/' tmp > campus_dropout.sql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment