398 reputation
15
bio website
location
age
visits member for 2 years, 7 months
seen Aug 24 at 19:58

Aug
7
revised Setting a variable whose value depends on another variable
type $var to $val
Aug
4
revised Setting a variable whose value depends on another variable
more robust loop + set -a option
Aug
4
revised Setting a variable whose value depends on another variable
added 212 characters in body
Aug
4
awarded  Nice Answer
Jul
27
comment What are .in files?
@Gaius my answer is indeed the correct, general-purpose answer. m4 isn't the only tool that uses this convention. certainly not the first, almost definitely won't be the last.
Jul
27
comment How to detect from script when the user's desktop is loaded?
this question is obtuse and hard to follow, as all the moving parts are broken up into many sections, but you often remind the reader that you've "added this to my script." i'm currently not sure which bits are relevant to what part of whose script. the final result of your script, as one piece, would be preferable for the purpose of determining where the logic goes sour, perhaps with in-line # comments.
Jul
26
comment how to install eiskaltdc++ on fedora 19?
rpm -U thepackage.rpm
Jul
25
answered how to install eiskaltdc++ on fedora 19?
Jul
25
answered How to compare two dates in a shell
Jul
25
answered What are .in files?
Jul
25
revised Remove last character from line
added 5 characters in body
Jul
25
comment How to remove the last character from every line in a text file
a pure-bash4 option applied to your case would be remove_last '.' cat thefile
Jul
25
answered Remove last character from line
Jul
25
awarded  Commentator
Jul
24
awarded  Yearling
Jul
24
revised Find pattern and move
added 44 characters in body
Jul
24
answered Find pattern and move
Jul
23
awarded  Critic
Jul
23
comment How to print shell variables and values to be able to copy/paste them?
never mind; misunderstanding of the commentary.
Jul
23
comment How to set a variable equal to the output from a command in GRUB2?
there may be some ugly way to script around it with bash's command substitution, but i don't think the effort is worth the time. you might, though. maybe you can invoke the grub command in a bash command sub or something? if you're doing this as a one-off thing, that might be perfectly workable. i'll also note that your question is multi-faceted; first about capturing output, second about making date output a specific format of the time or hour.