Search Results

Search: Posts Made By: ddspark
18,222
Posted By radoulov
$ awk '{ ("date +%s -d " q $1 s $2 s $3 q )|...
$ awk '{ ("date +%s -d " q $1 s $2 s $3 q )| getline dt; print dt }' q='"' s=' ' <<<'1 day ago'
1371735965
$ awk '{ ("date +%s -d " q $1 s $2 s $3 q )| getline dt; print dt }' q='"' s=' ' <<<'10...
2,006
Posted By radoulov
Yes, use this one: ... | awk 'FNR == 1...
Yes, use this one:

... |
awk 'FNR == 1 && /perl/'

If you have GNU awk:


... |
awk 'FNR == 1 && /perl / { print; nextfile }'
7,570
Posted By agama
If you're not dead set on using gxmessage, you...
If you're not dead set on using gxmessage, you could start an xterm and execute a small script which pulls random data from a file. Here's a sample that computes a random line to pull from a cookie...
Showing results 1 to 3 of 3

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