Is there a reason for using a stream editor when you want to edit in-file?
echo '1d
w' | ed original.dat
On 25 December 2011 08:42, Anthony J. Bentley wrote:
> That’s a GNUism.
I really like the convenience of `sed -i`. How can this be proposed to
become some sort of POSIX standard (at a guess), so people can stop
whining when I use it in scripts?
On 12/25/11, Anthony J. Bentley wrote:
On 12/24/11, Szabolcs Nagy wrote:
>> * hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]:
>>>
>> sed -i 1d original.dat
>
> That’s a GNUism.
>
What about $(rp "sed 1d" original.dat) ;)
To address the original (-er) question, I think moreutils sponge
On 12/24/11, Szabolcs Nagy wrote:
> * hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]:
>> Deleting the first line of my log is currently done with sed 1d
>> temp; mv temp original.dat. Is there no better way?
>
> sed -i 1d original.dat
That’s a GNUism.
* hiro <23h...@googlemail.com> [2011-12-24 02:00:47 +0100]:
> Deleting the first line of my log is currently done with sed 1d
> temp; mv temp original.dat. Is there no better way?
sed -i 1d original.dat
On 12/24/11, Connor Lane Smith wrote:
> I'm not sure a screenshot is necessary. It would just be a fullscreen
> window. :p If you hide the status bar it's honestly *just* the window.
And a border, telling you whether it is focused or not (assuming a
non-zero borderpx).
On 24 December 2011 12:08, dtk wrote:
> So, what's the policy here? All future development in patches, so we
> don't spoil that fancy 2K SLOC statistic everybody is so fond of? :/
> *sceptic*
Hah. :) We fold in popular patches, slowly, so dwm doesn't become all
bloated and unstable. My personal v
On 12/22/2011 05:32 PM, Suraj N. Kurapati wrote:
> On Thu 22 Dec 2011 02:44:54 PM PST, dtk wrote:
>> is there a way to have widgets in the status bar display images
>> instead of utf8 symbols?
>
> I gave up on this approach for DWM and used dzen2 as my status bar
> instead: https://github.com/sun
On 12/22/2011 05:54 PM, Suraj N. Kurapati wrote:
> On Thu 22 Dec 2011 04:36:55 PM PST, dtk wrote:
>> I just cannot see how to do the stuff I feel I need with static
>> layouts. And since I don't believe that manual layouts are what
>> bloat wmii, I fail to understand why I cannot haz them :/ Worse,
Hey cls,
On 12/22/2011 04:57 PM, Connor Lane Smith wrote:
> On 22 December 2011 16:36, dtk wrote:
>> nope, 32 is aplenty. Thing is, in wmii I create them on demand and name
>> them dynamically (to reflect their purpose), which conveniently groups
>> them as well. I just don't want the tag I do de
10 matches
Mail list logo