代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/198615/6313084
txt 使用文档.txt
本文档是关于在linux中编译和下载bootloader的使用手册。
在编译bootloader之前需要预先在linux中安装交叉编译器。本系统采用的交叉编译器是arm-linux-gcc,而整个工具包是采用深圳亿道电子技术有限公司所提供的工具包。具体操作如下:
1、通过以下命令先把文件夹bootloader中的文件夹Toolchain文件夹中的hybus-arm-linux-R1.1 ...
www.eeworm.com/read/487652/6506991
sh run_fw_update_test_nand.sh
#!/bin/bash
for ((i=0; i < 100000; i++))
do
seed=$RANDOM
j=$(( $i % 10 ))
rm seed*$j
echo $seed>seed-for-run-$i
rm emfile-2k-0-*$j
cp emfile-2k-0 emfile-2k-0-$i
echo "####
www.eeworm.com/read/339483/12230530
sh subshell.sh
#!/bin/bash
# subshell.sh
echo
echo "Subshell level OUTSIDE subshell = $BASH_SUBSHELL"
# Bash, version 3, adds the new $BASH_SUBSHELL variable.
echo
outer_variable=Outer
(
echo "Subshell l
www.eeworm.com/read/268797/11121179
inc dbg-main.inc
# dbg-main.inc - Bourne Again Shell Debugger Main Include
# Copyright (C) 2002, 2003, 2004, 2005, 2006 Rocky Bernstein
# rockyb@users.sourceforge.net
#
# Bash is free software; you can redistr
www.eeworm.com/read/268797/11121404
tests interrupt.tests
#!../../bash
#$Id: interrupt.tests,v 1.1 2006/10/03 08:54:46 rockyb Exp $
if test -z $srcdir ; then
srcdir=`pwd`
fi
if test -z "$builddir" ; then
builddir=`pwd`
fi
CHECK_FILE=interrupt.check
www.eeworm.com/read/268797/11121446
cmd multi1.cmd
set trace-commands on
### Test step inside multi-statement line...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
step
step
step
### Should now be inside a subshell...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
quit
www.eeworm.com/read/268797/11121457
cmd multi2.cmd
set trace-commands on
set showcommand 1
#### Test step inside multi-statement line...
step
step
step 2
#### Should now be inside a subshell. Test from here...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
quit 0
www.eeworm.com/read/268797/11121469
cmd subshell2.cmd
set trace-commands on
set showcommand on
### Test quit inside multi-statement line...
step
step
step 2
### Should now be inside a subshell. Test from here...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
### Tes
www.eeworm.com/read/268797/11121629
cmd subshell4.cmd
set trace-commands on
set showcommand 1
print "Test step inside multi-statement lines and subshells..."
step 1
step 3
p "BASH_SUBSHELL $BASH_SUBSHELL"
step
H
p "BASH_SUBSHELL $BASH_SUBSHELL"
step
H
p
www.eeworm.com/read/268797/11121638
cmd subshell1.cmd
set trace-commands on
### Test step inside multi-statement line...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
step
step
step
### Should now be inside a subshell...
p "BASH_SUBSHELL: $BASH_SUBSHELL"
print "Te