Search Results

Search: Posts Made By: gratus
5,488
Posted By gratus
Yes but we can't rely on GNU date. Thanks.
Yes but we can't rely on GNU date. Thanks.
5,488
Posted By gratus
yesterday's date
I was playing to find a simple way to get yesterday's date, and came up with this (on an AIX 5.2 box):


$ date
Thu Feb 19 11:21:26 EST 2009
$ echo $TZ
EST5EDT
$ yesterday=`TZ=$(date +%Z)+24...
4,342
Posted By gratus
Formatting a DB unl file for easy readiblity
I have some database unload files (pipe delimited) that I need to extract some columns(or part of a column) and reformat and output them into a report file

right now I am inserting a tab between...
34,540
Posted By gratus
yes, these worked. Thanks a lot.
yes, these worked. Thanks a lot.
34,540
Posted By gratus
split varibles and store fields into shell varible array
I need to split a long varible which is a whole line read from a file into fields and store them in an array, the fields are delimited by pipe and a field may contain white spaces.

I tried the...
Showing results 1 to 5 of 5

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