首页 / 词典 / good

basename

  • 网络基名;基本名
basenamebasename
  1. The basename attribute is required , and identifies the resource bundle to be set as the default .

    basename属性是必需的,它标识了设为缺省值的资源束。

  2. The statement CALLER = ` basename $ 0 ` is used to get the name of the script being run .

    使用语句CALLER=`basename$0`可以得到正在运行的脚本名称。

  3. Note that the value for the basename attribute should not include any localization suffixes or filename extensions .

    请注意,basename属性的值不应当包含任何本地化后缀或文件扩展名。

  4. If the optional var attribute is specified , then the resource bundle identified by the basename attribute will be assigned to the variable named by this attribute 's value .

    如果指定了可选的var属性,那么将把由basename属性所标识的资源束赋给该属性值所命名的变量。

  5. While basename and dirname are great tools , there are times where we may need to perform more advanced string " chopping " operations than just standard pathname manipulations .

    尽管basename和dirname是很好的工具,但有时可能需要执行更高级的字符串“截断”,而不只是标准的路径名操作。