Search Results

Search: Posts Made By: gemtry
6,132
Posted By gemtry
KSH script: piping passes command-line arguments
Dear forum

I have the following small script:

#!/bin/ksh
echo -e "abba-o" | awk -F '-' '{ print $2 }' | cut -b 1It needs to be ksh.. in bash I don't have this problem.

If I run this on...
Showing results 1 to 1 of 1

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