Reputation
6,932
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
13 27
Newest
 Enlightened
Impact
~712k people reached

  • 0 posts edited
  • 1 helpful flag
  • 474 votes cast
Jul
6
awarded  Enlightened
Jul
6
awarded  Nice Answer
Jun
18
revised Correct locking in shell scripts?
improved answer using information from an informative comment.
Jun
18
comment Correct locking in shell scripts?
@ClintPachl : Thanks. Interesting reading. I like the solution of using a directory, then creating temp files in that directory, which gets cleaned up automatically.
May
27
reviewed Approve Where is the Programmer's manpage for the open C Function?
May
26
awarded  Enlightened
May
14
awarded  Good Answer
May
7
awarded  Nice Answer
May
2
answered How can I safely get the version of ksh?
Apr
16
reviewed Reject Converting `for file in` to `find` so that my script can apply recursively
Apr
16
comment Converting `for file in` to `find` so that my script can apply recursively
IFS is a variable that defines what your field separator value is going to be. The default IFS is usually "whitespace". So spaces, tabs, newlines, etc, will all be recognized as "field separators". Since some movies and songs may be named with spaces in them, this script is saying ignore spaces and tables, and use newlines as the separator. This way, instead or "Terminator 2.mp4" being recognized as 2 movies, "Terminator" and "2.mp4", it's seen as 1 movie "Terminator 2.mp4". Since IFS was saved as OIFS, the end of the script sets that back as the default.
Apr
16
reviewed Approve How do I extract parts of a string to variables?
Apr
10
reviewed Approve
Apr
7
awarded  Guru
Mar
8
awarded  Enlightened
Mar
8
awarded  Nice Answer
Feb
12
awarded  Yearling
Jan
27
awarded  Quorum
Jan
27
answered why my subdomain is not accessible from the Internet?
Jan
27
reviewed Approve gnash tag wiki excerpt