Bourne Shell - Search
About 5,180,000 results
Open links in new tab
    Kizdar net | Kizdar net | Кыздар Нет
  1. shell - Difference between sh and Bash - Stack Overflow

    Dec 14, 2024 · sh (Bourne shell) is a shell command-line interpreter, for Unix/Unix-like operating systems. It provides some built-in commands. In scripting language we denote interpreter as …

  2. Increment variable value by 1 (shell programming)

    I can't seem to be able to increase the variable value by 1. I have looked at tutorialspoint's Unix / Linux Shell Programming tutorial but it only shows how to add together two variables. I have …

  3. sh - How do I compare strings in Bourne Shell? - Stack Overflow

    In Bourne shell, if I want to check whether a string contains another string: if [ `echo ${String} | grep -c ${Substr} ` -eq 1 ] ; then Enclose echo ${String} | grep -c ${Substr} with two ` backticks: …

  4. sh - Bourne Shell Conditional Operators - Stack Overflow

    May 9, 2017 · bourne shell expr inside if-statements. 0. basic bash conditional statements. 0. Shell Script logical ...

  5. bash - Using if elif fi in shell scripts - Stack Overflow

    Apr 27, 2017 · Quite a few commentators have suggested you use [[ rather than [ but that makes your script bash-specific. You'll have fewer maintenance and portability issues if you can stick …

  6. bash - source command not found in sh shell - Stack Overflow

    Dec 4, 2012 · /bin/sh is usually some other shell trying to mimic The Shell. Many distributions use /bin/bash for sh, it supports source. On Ubuntu, though, /bin/dash is used which does not …

  7. scripting - Bourne Shell compare two strings - Stack Overflow

    Feb 11, 2012 · With the Bourne shell you are pretty limited with what you can do. I would either use zsh/bash or if sh was essential, write a C program that did what I want. If creating files …

  8. Bourne shell: send arguments $2 to $N to variadic function?

    Aug 17, 2012 · I cannot seem to find how to do this in Bourne shell scripting: I am writing a shell script to handle all of my testing for a project. I've set up functions for each task that this script …

  9. linux - Bourne Shell - How to identify that first parameter is ...

    Feb 23, 2012 · How can a Bourne Shell script know that the first parameter it received was '' (Two single quotation marks? I've tried . if [ -z "$1" ] ; then echo "Wrong number of parameters" fi …

  10. How to store and restore IFS in Bourne shell? - Stack Overflow

    Feb 26, 2025 · The presented code is POSIX compliant and also does work in Bourne shell. But is it correct? Yes, the second presented code is both correct lexical and achieves the same …