Search Results

Search: Posts Made By: elixir_sinari
12,971
Posted By elixir_sinari
If you will not be reading any stream with awk,...
If you will not be reading any stream with awk, you can just have the BEGIN block. That way awk won't try to read any input and you can drop the pipe with echo.
12,971
Posted By elixir_sinari
I think bash doesn't support floating point...
I think bash doesn't support floating point arithmetic. ksh93 does.
You may use ksh93 or bc or awk (as bmk suggested).
You may use bmk's solution with a slight modification:
awk 'BEGIN{"date...
Showing results 1 to 2 of 2

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