"echo \-"
works in my installation.
You can also use the non-builtin:
"/bin/echo -"
2014-11-13 8:34 GMT+01:00 Santhosh T <santhosh.tek...@gmail.com>:
> Hi David,
>
> great. i can use workaround for the time being...
>
> thanks
> santhosh
>
>
> On Thu, Nov 13, 2014 at 12:42 PM, David Adam <zanc...@ucc.gu.uwa.edu.au>
> wrote:
>
>> This is a known bug in fish 2.1.x that will be fixed in the next minor
>> release.
>>
>> https://github.com/fish-shell/fish-shell/issues/1459
>>
>> David Adam
>> zanc...@ucc.gu.uwa.edu.au
>>
>> On Thu, 13 Nov 2014, Santhosh T wrote:
>> > the command:
>> >
>> > echo -
>> >
>> > prints nothing
>> >
>> > i tried following also:
>> >
>> > echo "-"
>> > echo '-'
>> >
>> > but following works:
>> >
>> > echo -e "\x2D"
>> >
>> > what is so special about symbol "-"
>> >
>> > the documentation also doesn't say anything special case for minus
>> symbol
>>
>
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
> _______________________________________________
> Fish-users mailing list
> Fish-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fish-users
>
>
--
.../Sedrikov\...
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users