Hi guys i'd like to show you this code of my script, where i couldn't find this error
" [ !-d: commando not found"
"Syntax error near unexpected token `fi' "
my code:
Some idea to help?
Thanks!!!
Last edited by vbe; 09-10-2012 at 11:40 AM..
Reason: indent + one missing then...
Hi All,
I have been fighting with a syntax error for the last 2 days, still haven't got the solution. Could you please help me, your help will be greatly appreciated.
In my script I am getting a error in a for loop, its similar to the one as is below.
for v_id in v1 v2 v3 v4
do... (8 Replies)
I get this error when I try to run my script
(BTW, this is a simple script I am supposed to write for my class)
$ menuscript
menuscript: syntax error at line 89 : `"' unmatched
$
Here is the code (Any help is greatly appreciated)
(Line numbers included)
1 #!/bin/ksh
2 ... (2 Replies)
hi there
i write one awk script file in shell programing
the code is related to dd/mm/yy to month, day year format
but i get an error
please can anybody help me out in this problem ??????
i give my code here including error
awk `
# date-month -- convert mm/dd/yy to month day,... (2 Replies)
Hi
I not sure what is wrong with my script... when I try to run it I get the follow error: "remove: syntax error at line 77: `end of file' unexpected" Thanks in advance for any help.
ans=y
while
do
while :
do
echo "Please enter a name that you... (3 Replies)
Hey guys keep having problems with the below script syntax error near unpexpected token '0' exit 0 I have two directorys backups and Usr in the usr i have sub dir's wp,ss,pic which i would like to back up (copy those directorys to the backups directory) with user acknowledgement from command line.... (2 Replies)
hello everyone
i am beginner on shell scripting .and i am working on my project work on ad hoc network
i wrote a batch (.sh) to do a looping and execute a tcl script i wrote before in each iteration ..but i got this problem "
syntax error near unexpected token `('... (1 Reply)
Hi All,
I am new to Unix, I have written the following script in ksh and get a syntax error :wall:. I need some help to figure out the error and reason. The script below uses some variables from an environment file, also it executes a sql file. The sql file is correct and has no problems. I... (1 Reply)
So, I'm writing my first shell script to try to speed up the process of creating lyric files for mocp and I don't know what the error is, but considering how short the code is, I'm betting it's something super-obvious.
line 7: syntax error near unexpected token `echo'
line 7: ` echo... (4 Replies)
Evening All (or morning for some),
Could anyone have a look at the below and advise where i've going wrong with the syntax as i keep getting the below error while trying to run.
Any help would be really apprecaited.
./testout: line 13: syntax error near unexpected token `else'
... (4 Replies)
Discussion started by: mutley2202
4 Replies
LEARN ABOUT DEBIAN
rmadison
RMADISON(1)RMADISON(1)NAME
rmadison -- Remotely query the Debian archive database about packages
SYNOPSIS
rmadison [OPTIONS] PACKAGE ...
DESCRIPTION
dak ls queries the Debian archive database ("projectb") and displays which package version is registered per architecture/component/suite.
The CGI at http://qa.debian.org/madison.php provides that service without requiring SSH access to ftp-master.debian.org or the mirror on
ries.debian.org. This script, rmadison, is a command line frontend to this CGI.
OPTIONS -a, --architecture=ARCH
only show info for ARCH(s)
-b, --binary-type=TYPE
only show info for binary TYPE
-c, --component=COMPONENT
only show info for COMPONENT(s)
-g, --greaterorequal
show buildd 'dep-wait pkg >= {highest version}' info
-G, --greaterthan
show buildd 'dep-wait pkg >> {highest version}' info
-h, --help
show this help and exit
-s, --suite=SUITE
only show info for this suite
-S, --source-and-binary
show info for the binary children of source pkgs
-t, --time
show projectb snapshot and reload time (not supported by all archives)
-u, --url=URL[,URL ...]
use URL for the query. Supported shorthands are
debian or qa http://qa.debian.org/madison.php
bpo http://backports.debian.org/cgi-bin/madison.cgi
debug http://debug.debian.net/cgi-bin/madison.cgi
ubuntu http://people.canonical.com/~ubuntu-archive/madison.cgi
udd http://qa.debian.org/cgi-bin/madison.cgi
See the RMADISON_URL_MAP_ variable below for a method to add new shorthands.
--version
show version and exit
--no-conf, --noconf
don't read the devscripts configuration files
ARCH, COMPONENT and SUITE can be comma (or space) separated lists, e.g. --architecture=m68k,i386
CONFIGURATION VARIABLES
The two configuration files /etc/devscripts.conf and ~/.devscripts are sourced by a shell in that order to set configuration variables.
Command line options can be used to override configuration file settings. Environment variable settings are ignored for this purpose. The
currently recognised variables are:
RMADISON_URL_MAP_SHORTHAND=URL
Add an entry to the set of shorthand URLs listed above. SHORTHAND should be replaced with the shorthand form to be used to refer to
URL.
Multiple shorthand entries may be specified by using multiple RMADISON_URL_MAP_* variables.
RMADISON_DEFAULT_URL=URL
Set the default URL to use unless overridden by a command line option.
RMADISON_ARCHITECTURE=ARCH
Set the default architecture to use unless overridden by a command line option. To run an unrestricted query when
RMADISON_ARCHITECTURE is set, use --architecture='*'.
NOTES
dak ls also supports -r, --regex to treat PACKAGE as a regex. Since that can easily DoS the database ("-r ."), this option is not supported
by the CGI and rmadison.
dak ls was formerly called madison.
The protocol used by rmadison is fairly simple, the CGI accepts query the parameters a, b, c, g, G, s, S, t, and package. The parameter
text is passed to enable plain-text output.
SEE ALSO madison-lite(1), dak(1).
AUTHOR
rmadison and http://qa.debian.org/madison.php were written by Christoph Berg <myon@debian.org>. dak was written by James Troup
<james@nocrew.org>, Anthony Towns <ajt@debian.org>, and others.
Debian Utilities 2013-12-23 RMADISON(1)