Search Results

Search: Posts Made By: junior-helper
5,581
Posted By junior-helper
Why not use bash's special parameter #? ...
Why not use bash's special parameter #?
# Expands to the number of positional parameters in decimal.
Example:
#!/bin/bash

if [[ "$#" -ne "3" ]]; then
echo "Need 3 files, you...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 12:52 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy