inspect certain line in an SQL file

raw

phork0.sh

1
2
3
4
5
$ mysql ... < file.sql
 ERROR 1054 (42S22) at line 154422: Unknown column 'locked' in 'field list' 
 
$ sed -n '154422,154425p' file.sql
.. outputs line in file
Christian Weiske Christian Weiske
owner

History