#!/usr/bin/perl
use strict;
use warnings;
my $file;
my @files;
my $parse;
my @files = <*>;
foreach $file(@files)
chomp ($file);
{
$parse = system qq(paste <(cut -f1,2,13 $file) <(cut -f12 $file));
}
"my" variable @files masks earlier declaration in same scope at Rast_seq.pl line 11.
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "(" unexpected
sh: 1: Syntax error: "("
When I open vim for a file like /etc/nginx/sites-available/default, syntax highlighting works fine. But then if I create my own file /etc/nginx/sites-available/myapp, vim does not highlight its syntax. I have to do :setf conf every time.
Is there anything I can put in ~/.vimrc to tell vim "if you don't know which syntax to use, just use conf" ?
A .vimrc template for a vim noob is also welcome.
This question is somewhat similar to this: Unix/Linux command syntax
Suppose I have a program foo that takes arguments -a and -b. If both a and b take a string argument what is the meaning of this
foo -b -a bar
If multiple b:s are allowed
foo -b -a -b
??
Is there a true specification of the command line syntax somewhere?
I'm trying to find what is the syntax of conffiles.
I'm creating several packages using a single rules file and if I put the configuration files into conffiles I get an error when building the packages (since the files are only present in two of the 9 packages).
I have quite a lot of Perl scripts which print colored output to the terminal, using Term::ANSIColor.
SQLite's full text search engine offers a simple query syntax (with AND and OR operators and -term for negation), as well as an enhanced query syntax which also allows parenthesis and NEAR — as well as using NOT instead of the -term syntax.
The enhanced query syntax is enabled by setting the SQLITE_ENABLE_FTS3_PARENTHESIS option at compile time, and sqlite as distributed by Red Hat does not have
Question about using php syntax checking command in sub directories
← Older revision
Revision as of 11:27, September 15, 2010
Line 138:
Line 138:
</pre>
</pre>
+
+
-----------
+
+
I like to use vim to edit PHP projects by running it in the project root.
When I try to open my .bashrc file. then it shows these lines:
Errordetected while processing /etc/vimrc:
line 45:
E848: Can't open file /usr/share/vim/vim70/syntax/syntax.vim
Press ENTER or type command to continue
When I go to the /etc/vimrc file , it shows syntax on line 45. I've installed the OS three times and it always shows the same error.
Hi all,
I am trying to import a database in putty with the syntax:
Code:
mysql –u database_username –p database_name < filename.mysql
As you can see in the screenshot it asks me for the database password - which suggests that the syntax is correct - but then after I enter the password it gives me it gives the syntax error message =
Code:
ERROR 1064 (42000): You have an