Reputation
273
Top tag
Next privilege 300 Rep.
Create new tags
Badges
1 6
Newest
 Yearling
Impact
~3k people reached

  • 0 posts edited
  • 0 helpful flags
  • 14 votes cast
Jun
22
comment Unzip the archive with more than one entry
Out of curiosity, have you encountered the issue if you try this as separate steps? (ie curl to save to file, then funzip)
Jun
22
revised How to “less” a file named “-”?
added 445 characters in body
Jun
17
comment How to “less” a file named “-”?
@StéphaneChazelas: Yes I was considering what to do. I'll edit when I get home.
Jun
17
awarded  Yearling
Jun
17
comment How to “less” a file named “-”?
@StéphaneChazelas: yes, yes, sorry. I have since deleted the comment you're replying to and posted a new one. I had not paid attention at all. Your interpretation is correct.
Jun
17
comment How to “less” a file named “-”?
@MichaƂPolitowski: Yes, I had misread the question, I didn't realize OP asked for a file named exactly -, I was thinking of filenames starting with -.
Jun
17
comment How to “less” a file named “-”?
@StéphaneChazelas: You're right, I had misread the question and thought the OP was asking about a filename starting with -, not that the exact filename (in its entirety) was -.
Jun
17
awarded  Critic
Jun
17
revised How to “less” a file named “-”?
added 223 characters in body
Jun
17
revised How to “less” a file named “-”?
added 223 characters in body
Jun
17
comment How to “less” a file named “-”?
@EtanReisner: But you're right, I'll clarify my wording.
Jun
17
comment How to “less” a file named “-”?
@Etan: You're right, it's not, but it's a convention for shell utilities and for tools to respect that convention for consistency.
Jun
17
revised How to “less” a file named “-”?
added 872 characters in body
Jun
17
revised How to “less” a file named “-”?
added 872 characters in body
Jun
17
awarded  Commentator
Jun
17
comment How to “less” a file named “-”?
@Kwai: the Open Group is an even better one :)
Jun
17
comment How to “less” a file named “-”?
@fedorqui: I added the information. It's a standard convention specified by the Open Group shell command language specs, so most compliant shells would (and should) support it. Anything else just looks like dodgy hackery in my opinion. (though it's good to have another way if that's not supported, of course)
Jun
17
revised How to “less” a file named “-”?
added 872 characters in body
Jun
17
awarded  Editor
Jun
17
revised How to “less” a file named “-”?
added 872 characters in body