Skip to main content
11 events
when toggle format what by license comment
Jul 8, 2020 at 12:19 comment added Gilles 'SO- stop being evil' @Manuel I don't see why anything would be different on macOS. What's wrong?
May 1, 2017 at 13:01 history edited Stéphane Chazelas CC BY-SA 3.0
added 133 characters in body
Apr 13, 2017 at 12:36 history edited CommunityBot
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Jan 20, 2015 at 19:24 comment added Stéphane Chazelas @Gilles, the accepted answer has ls -p | grep -v / so has the recent question that dups here.
Jan 20, 2015 at 19:04 history edited Gilles 'SO- stop being evil' CC BY-SA 3.0
added 133 characters in body
Jan 20, 2015 at 19:02 comment added Gilles 'SO- stop being evil' @StéphaneChazelas I do wonder why you'd exclude directories and symlinks, the question said nothing about that.
Jan 20, 2015 at 18:08 comment added Stéphane Chazelas :-D, I actually edited this answer thinking it was mine... Sorry. Feel free to revert as that changes the meaning.
Jan 20, 2015 at 17:31 history edited Stéphane Chazelas CC BY-SA 3.0
added 67 characters in body
Jan 16, 2012 at 18:18 comment added Gilles 'SO- stop being evil' @hesse Some shells don't implement ++ and --. You can write : $((i+=1)) instead of i=$((i+1)); I'm not convinced that it's more readable.
Jan 16, 2012 at 12:46 comment added user13742 +1 for safe shell expansion. Would also be more readable with the increment operation $(( i++ )) or $[ i++ ]?
May 11, 2011 at 7:24 history answered Gilles 'SO- stop being evil' CC BY-SA 3.0