代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/16793/690915
c tee.c
/* tee - duplicate standard input */
/* See Makefile for compilation details. */
/*
Copyright (C) 1999-2009 Free Software Foundation, Inc.
This file is part of GNU Bash.
Bash is free softw
www.eeworm.com/read/16793/690921
c rmdir.c
/* rmdir - remove directory */
/* See Makefile for compilation details. */
/*
Copyright (C) 1999-2009 Free Software Foundation, Inc.
This file is part of GNU Bash.
Bash is free software: y
www.eeworm.com/read/16793/691236
sub array7.sub
# these didn't work in versions of bash before bash-4.0
LNAME=nordholz
echo ${LNAME[$(( 0 ))]//h/!}
echo ${LNAME[$(( 2 ))]//h/!}
echo ${LNAME[$(( 0 ))]##??}
echo ${LNAME[$(( 2 ))]##??}
echo ${LNAM
www.eeworm.com/read/16793/691410
sub history2.sub
set -o history
HISTSIZE=256
HISTFILE=/dev/null
# these two lines should be the same
echo ${BASH_VERSION%\.*}
echo $(fc -nl -1)
echo ${BASH_VERSION%\.*}
fc -nl -1
www.eeworm.com/read/16793/691509
y2k
Since Bash does not manipulate date strings, it is Y2K-safe.
The only thing that Bash does with date strings is manipulate the string
returned by ctime(3) or strftime(3) in the prompt customization c
www.eeworm.com/read/16793/691529
po sv.po
# Swedish translation of bash
# Copyright © 2008, 2009, 2010 Free Software Foundation, Inc.
# This file is distributed under the same license as the bash package.
# Göran Uddeborg
www.eeworm.com/read/16793/691580
po zh_cn.po
# Chinese (Simplified) translation for bash package
# Copyright (C) 2010 Free Software Foundation, Inc.
# This file is distributed under the same license as the bash package.
# Xin Ye
www.eeworm.com/read/16793/691664
c sigs.c
/* sigs - print signal dispositions for a process */
/* Copyright (C) 1990-2010 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
Bash is free software: yo
www.eeworm.com/read/35675/1059606
trapping
#!/bin/bash
# Scriptname: trapping
# Script to illustrate the trap command and signals
# Can use the signal numbers or bash abbreviations seen
# below. Cannot use SIGINT, SIGQUIT, etc.
trap 'echo "Co
www.eeworm.com/read/239312/4602416
trapping
#!/bin/bash
# Scriptname: trapping
# Script to illustrate the trap command and signals
# Can use the signal numbers or bash abbreviations seen
# below. Cannot use SIGINT, SIGQUIT, etc.
trap 'echo "Co