分页: 1 / 1
declare
发表于 : 2009-02-06 22:08
由 gentle723
我是新手,刚开始用ubuntu,看的鸟哥私房菜,看了一些脚本,书上例子中的脚本里有declare编译都报错,但是在终端输入declare却没有问题,请大侠赐教?
Re: declare
发表于 : 2009-02-06 23:00
由 yuu1010
bash与sh不一样
把脚本中的#!/bin/sh改为#!/bin/bash
Re: declare
发表于 : 2012-08-21 19:59
由 梨园kb
sudo dpkg-reconfigure dash
then chose no
Re: declare
发表于 : 2012-08-21 20:06
由 lilydjwg
既然报错,那么再认真读一遍,如果还报错,就不要看那个。