help-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-bash] checking file line: 'commit;'


From: Paolo Supino
Subject: [Help-bash] checking file line: 'commit;'
Date: Thu, 11 Aug 2016 14:59:02 +0200

Hi

I'm trying to parse large file of SQL scripts and I want to check that the
last (meaningful) line of every SQL script has the line: commit; (the
semicolon is important). I've tried enclosing the string in '' (single
quotes: 'commit;'). double quotes "" ("commit;"), escaping the semicolon
(commit\;)... None of these workd. Can anyone please help understand how I
can check that a string equals to commit;







TIA
Paolo


reply via email to

[Prev in Thread] Current Thread [Next in Thread]