02-14-2006
10 More Discussions You Might Find Interesting
1. AIX
Hi,
I am newer in the AiX 5.3 world.I have experience in the linux OS.I want to use bash interpreter under AIX?Is it possible?If yes, How?
For Information, I want to use history command under AIX,etc, things doesn't exit under AIX.
Many Thanks in advance. (4 Replies)
Discussion started by: taupin
4 Replies
2. AIX
Hey'all... I'm so use to using bash in unix, that aix is driving me batty on the command line using arrow keys and so forth. Even cuts and pastes are creating a problem using the esc k and set -o vi. Is there anything else that is abit safer or better...like bash?
:rolleyes: (4 Replies)
Discussion started by: gzs553
4 Replies
3. UNIX for Dummies Questions & Answers
Is it possible to use the keyboard UP ARROW in place of k to recall history? If so, how/what do I need to do change terminal emulation, etc.?
TIA,
George (7 Replies)
Discussion started by: gwfay
7 Replies
4. AIX
Hi,
Im trying to install bash on AIX, I have rpm installed but get:
rpm --install bash-3.0-19.3.ppc.rpm
error: failed dependencies:
libc.so.6 is needed by bash-3.0-19.3
libc.so.6(GLIBC_2.0) is needed by bash-3.0-19.3
libc.so.6(GLIBC_2.1) is needed by... (0 Replies)
Discussion started by: chris5126
0 Replies
5. AIX
Hi,
I am trying to install " bash 4.1 " on AIX 6.1 OS and with this gcc compiler file " gcc-4.2.0-3.aix5.3.ppc.rpm ".
could help someone with below links if needed for future use..just in case
Downloaded -----bash-4.1.tar.gz -------- file from below link ... (2 Replies)
Discussion started by: Rookie_newbie
2 Replies
6. AIX
hey frnds I am trying to migrate a bash script over the AIX machine , but was getting error with ps and read commands, so I make the few changes in script and have also chnaged the shell from bash to ksh
below is my script... (5 Replies)
Discussion started by: sumit_saxena
5 Replies
7. UNIX for Dummies Questions & Answers
Hallo all
I'm writing a little shellscript in aix in order to test the correct connection to a specific ip-port. I'm using the sleep|telnet combination. All works great if connection is already open.. But if telnet connection are in trying state... It doesn't exit and all the rest of the script... (4 Replies)
Discussion started by: libeccio
4 Replies
8. AIX
We have a new LPAR with AIX 7.2. We want to work with bash, so installed bash from Perzl (bash_64-4.4.5.aix5.1.ppc.rpm). But after install bash does not work. If I call "bash", nothing happens. The xterm, where I started bash, is totally dead.
I tried the bash from aixtools.net, too. Same... (4 Replies)
Discussion started by: BuSchu
4 Replies
9. Shell Programming and Scripting
Hi all,
I am struggling to build a utility which can do the parallel processing. I achieved same in Linux using xargs -P but same is not working on AIX.
I am building file copy utility where I will have all required info in a file (like souce file info and target location details), now i need... (2 Replies)
Discussion started by: ankur singh
2 Replies
10. UNIX for Advanced & Expert Users
AIX is really different from most distros I am used to. I am trying to set up my .bashrc so I did this in the file. I noticed when I ssh into the server or use the bash command for a new shell it was being ignored.
#-------------------------------------------------------------
# Source global... (2 Replies)
Discussion started by: cokedude
2 Replies
LEARN ABOUT NETBSD
checkbashisms
CHECKBASHISMS(1) General Commands Manual CHECKBASHISMS(1)
NAME
checkbashisms - check for bashisms in /bin/sh scripts
SYNOPSIS
checkbashisms script ...
checkbashisms --help|--version
DESCRIPTION
checkbashisms, based on one of the checks from the lintian system, performs basic checks on /bin/sh shell scripts for the possible presence
of bashisms. It takes the names of the shell scripts on the command line, and outputs warnings if possible bashisms are detected.
Note that the definition of a bashism in this context roughly equates to "a shell feature that is not required to be supported by POSIX";
this means that some issues flagged may be permitted under optional sections of POSIX, such as XSI or User Portability.
In cases where POSIX and Debian Policy disagree, checkbashisms by default allows extensions permitted by Policy but may also provide
options for stricter checking.
OPTIONS
--help, -h
Show a summary of options.
--newline, -n
Check for "echo -n" usage (non POSIX but required by Debian Policy 10.4.)
--posix, -p
Check for issues which are non POSIX but required to be supported by Debian Policy 10.4 (implies -n).
--force, -f
Force each script to be checked, even if it would normally not be (for instance, it has a bash or non POSIX shell shebang or appears
to be a shell wrapper).
--extra, -x
Highlight lines which, whilst they do not contain bashisms, may be useful in determining whether a particular issue is a false posi-
tive which may be ignored. For example, the use of "$BASH_ENV" may be preceded by checking whether "$BASH" is set.
--version, -v
Show version and copyright information.
EXIT VALUES
The exit value will be 0 if no possible bashisms or other problems were detected. Otherwise it will be the sum of the following error val-
ues:
1 A possible bashism was detected.
2 A file was skipped for some reason, for example, because it was unreadable or not found. The warning message will give details.
SEE ALSO
lintian(1).
AUTHOR
checkbashisms was originally written as a shell script by Yann Dirson <dirson@debian.org> and rewritten in Perl with many more features by
Julian Gilbey <jdg@debian.org>.
DEBIAN
Debian Utilities CHECKBASHISMS(1)