D dwn.220.v.ua

ksh test for null

null is the case when your action failed, not when return empty reply also,...

📦 .zip⚖️ 67.9 MB📅 25 Feb 2026

null is the case when your action failed, not when return empty reply also, grep -q could be tested Use the test -n option, or the ksh / bash [[.

⬇ Download Full Version

So [ -z "$1" ] is a proper way of testing if $1 is empty, and [ &...

📦 .zip⚖️ 107.5 MB📅 24 Mar 2026

So [ -z "$1" ] is a proper way of testing if $1 is empty, and [ "$x" = "$y" ] is a This method works for the traditional bourne shell, as well as ksh.

⬇ Download Full Version

One way to test for (non-)empty string is to use test and -z (-n) Your shel...

📦 .zip⚖️ 95.7 MB📅 31 May 2026

One way to test for (non-)empty string is to use test and -z (-n) Your shell (here ksh on AIX) starts having errors as soon as your subshell (here.

⬇ Download Full Version

hi all, i have a shell (ksh) script where i am reading line by line from a ...

📦 .zip⚖️ 36.7 MB📅 28 Dec 2025

hi all, i have a shell (ksh) script where i am reading line by line from a to check if the grep command actually returned something or was null. i  Check for empty string.

⬇ Download Full Version

The simplest expression is a string which is true if the string is non-empt...

📦 .zip⚖️ 114.4 MB📅 09 Nov 2025

The simplest expression is a string which is true if the string is non-empty is not set, test, [, and [[ behave as in the standard Korn Shell and quietly ignore any.

⬇ Download Full Version

Check if parameter is NULL (shell scripting) Programming I'd like it t...

📦 .zip⚖️ 89.1 MB📅 24 Aug 2025

Check if parameter is NULL (shell scripting) Programming I'd like it to work under ksh, but if it can only be done under bash then fine!:).

⬇ Download Full Version

KSH - Korn Shell Tutorial. Matching Patterns; Conditional Statements; Test ...

📦 .zip⚖️ 30.2 MB📅 01 Dec 2025

KSH - Korn Shell Tutorial. Matching Patterns; Conditional Statements; Test Objects (Files, Directories, etc.) Format of flow control functions; Positional Parameter.

⬇ Download Full Version

This guide explains how to determine if a bash variable is empty or Bash Sh...

📦 .zip⚖️ 36.7 MB📅 13 Jan 2026

This guide explains how to determine if a bash variable is empty or Bash Shell: Find Out If a Variable Is Set or Not; bash(1); test(1); help [; help [[ Many-a-times, AIX installations do not have bash/ksh/whatever by default.

⬇ Download Full Version

This syntax is compatible with ksh (at least ksh93, anyway). You can test t...

📦 .zip⚖️ 87.8 MB📅 10 May 2026

This syntax is compatible with ksh (at least ksh93, anyway). You can test to see if a variable is specifically unset (as distinct from an empty.

⬇ Download Full Version

Try using the -z test: if [ -z "$1" ] && [ -z "$2&qu...

📦 .zip⚖️ 71.1 MB📅 05 May 2026

Try using the -z test: if [ -z "$1" ] && [ -z "$2" ]. From man bash: z string True if the length of string is zero.

⬇ Download Full Version

In Bash you quite often need to check to see if a variable has been set or ...

📦 .zip⚖️ 26.5 MB📅 20 Oct 2025

In Bash you quite often need to check to see if a variable has been set or has a value other than an empty string. This can be done using the -n.

⬇ Download Full Version

Being able to test if a variable is a number in the Korn shell is very usef...

📦 .zip⚖️ 24.3 MB📅 18 Apr 2026

Being able to test if a variable is a number in the Korn shell is very useful but not immediately obvious #Notes: expr $1 + 0 >/dev/null 2>&1.

⬇ Download Full Version

This works on my AIX systems but not my HP-UX #!/bin/ksh while read TBS do ...

📦 .zip⚖️ 49.1 MB📅 19 Nov 2025

This works on my AIX systems but not my HP-UX #!/bin/ksh while read TBS do if! [ $TBS ] then echo No Tablespace to process continue else.

⬇ Download Full Version

The test command evaluates the Expression parameter, and if the expression ...

📦 .zip⚖️ 56.4 MB📅 18 Oct 2025

The test command evaluates the Expression parameter, and if the expression value String1, Returns a True exit value if the String1 variable is not a null string.

⬇ Download Full Version

test is a command-line utility found in Unix-like operating systems that ev...

📦 .zip⚖️ 87.2 MB📅 01 Nov 2025

test is a command-line utility found in Unix-like operating systems that evaluates conditional Non standard Korn Shell extensions: If the quotation marks are omitted and $1 is the empty string, the test command displays the error message.

⬇ Download Full Version