Reputation
1,663
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
3 15 30
Impact
~84k people reached

15h
accepted How to split a string at some non-printable-character delimiter?
16h
asked How to split a string at some non-printable-character delimiter?
1d
revised Is there a single documentation page for all the XDG_* environment variables?
added 7 characters in body
1d
comment Is there a single documentation page for all the XDG_* environment variables?
@Patesh: that page is a good example of what I've been finding; it defines some variables, but most of the XDG_* variables that are (somehow) getting set in my environment are not mentioned in this document.
1d
asked Is there a single documentation page for all the XDG_* environment variables?
Jan
30
awarded  Popular Question
Jan
29
comment How to remove a positional parameter from $@
Thanks. That argument cycling technique is very nice. It has the added bonus that it makes it very easy to inspect the parameter following the current one (since it's just sitting right there in $1). This property came in handy in what I'm doing. Also, thanks for reminding me that the in "$@"; bit at the top of the for loop is unnecessary. It's something I've seen before, but I tend to forget it. Regarding your remark on the Almquist shell, does the do have to appear on the next line, or would for arg; do work too?
Jan
29
accepted How to remove a positional parameter from $@
Jan
29
comment How to remove a positional parameter from $@
@cuonglm: I've reverted to the original form of the pseudo code; in my experience, whenever I simplify the picture too much, I get answers that work for the oversimplified case, but not for the actual one.
Jan
29
revised How to remove a positional parameter from $@
edited tags
Jan
29
revised How to remove a positional parameter from $@
rolled back to a previous revision
Jan
29
asked How to remove a positional parameter from $@
Jan
24
accepted How to get the last argument to a /bin/sh function
Jan
24
revised How to get the last argument to a /bin/sh function
added 4 characters in body
Jan
24
revised How to get the last argument to a /bin/sh function
added 747 characters in body
Jan
23
revised Asked for Terminus, and got TeX Gyre Chorus instead
deleted 4 characters in body
Jan
23
revised Asked for Terminus, and got TeX Gyre Chorus instead
added 577 characters in body
Jan
23
asked Asked for Terminus, and got TeX Gyre Chorus instead
Jan
22
comment How to get the last argument to a /bin/sh function
This question is not about a specific script I'm trying to write, but rather a general how-to. I'm looking for a good recipe for this. Of course, the more portable, the better.
Jan
22
asked How to get the last argument to a /bin/sh function