Search Results

Search: Posts Made By: maximus_jack
1,450
Posted By Don Cragun
I'm not sure what you mean by an IBM application,...
I'm not sure what you mean by an IBM application, but in a ksh or bash script, the code:sed '1d' file1 > file1.$$ && mv file1.$$ file1
seems to be pretty concise.
5,361
Posted By Don Cragun
Or much more simply: var=$(nzodbcsql -q "select...
Or much more simply:
var=$(nzodbcsql -q "select max(million_cnt) from tablename";)
awk 'NR == 4{ print $1; exit }' <<<"${var}"
Showing results 1 to 2 of 2

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