Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Keith Favre Keith Favre Linux

    !linux Sorry for asking so many questions, but date +'%b %_d %Y %H:%M:%S' doesn't format the day correctly when it's backticked. Why?

    Sunday, 03-Jan-10 18:48:03 UTC from web at Beaumont, Texas, United States
    • Daniel Daniel

      @iyunkateus $(date +'%b %_d %Y %H:%M:%S') will work if you're assigning it to a variable.

      Sunday, 03-Jan-10 19:02:54 UTC
    • Ravi Pinjala Ravi Pinjala

      @iyunkateus Turns out you have to put it in quotes to preserve spaces: echo "`date +'%b %_d %Y %H:%M:%S'`"

      Sunday, 03-Jan-10 19:32:31 UTC
    • Keith Favre Keith Favre Ravi Pinjala

      @rxp Hmm, interesting!

      Sunday, 03-Jan-10 19:36:16 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal