Reputation
14,991
Top tag
Next privilege 15,000 Rep.
Protect questions
Badges
1 57 73
Newest
 Good Answer
Impact
~1.2m people reached

2d
reviewed Approve whiptail or dialog
Apr
14
awarded  Good Answer
Apr
12
awarded  Enlightened
Apr
12
awarded  Nice Answer
Jan
22
awarded  Good Answer
Jan
6
comment remove particular characters from a variable using bash
Right, man bash says it clearly in the Shell Parameter Expansion section: “${parameter/pattern/string} (…) If string is null, matches of pattern are deleted and the / following pattern may be omitted.”
Jan
5
awarded  Good Answer
Jan
4
awarded  Good Answer
Dec
22
awarded  Guru
Dec
16
awarded  Enlightened
Dec
16
awarded  Nice Answer
Dec
5
comment The best way to expand glob pattern?
@lindhe, unsetopt and the same parameter as used for setopt.
Oct
29
awarded  Good Answer
Oct
20
awarded  Nice Answer
Oct
4
awarded  Enlightened
Oct
4
awarded  Nice Answer
Sep
1
awarded  Yearling
Aug
13
comment Fast method of splitting string from textfile?
Based on the use of PROCINFO, this is not standard awk, but gawk. In that case I would prefer another gawk only feature, the FIELDWIDTHS: awk -vFIELDWIDTHS="$(tr '\n' ' ' < lengths.txt)" '{for(i=1;i<=NF;i++)print">Entry"i ORS$i}' string.txt
Jul
14
comment What's a smart way to count the number of days since X?
Some of the answers in Quickly calculate date differences may help here too.
Jul
5
awarded  Enlightened