Hi,
I am trying to select all c comments from within a file using acme,
but I am unable to do it properly. The command x/\/\*.*\*\// is the
closest I could get, but it doesn't work with comments that span over
more than one line. This raises a question for me: somewhere, I cannot
recall where, I
Hello,
I have another problem with acme.
Lets say I want to check the spelling in all the comments in a c file,
so I execute:
Edit ,x/\/\*.*\*\// spell (nevermind this doesn't work for more
than one line comments)
and nothing happens. This doesn't mean that my spelling is good, since
I saw some
2009/6/26 hugo rivera uai...@gmail.com:
Hi,
I am trying to select all c comments from within a file using acme,
but I am unable to do it properly. The command x/\/\*.*\*\// is the
closest I could get, but it doesn't work with comments that span over
more than one line. This raises a question
you need (.|\n) instead of .
sam originally used @ as a match everything character
but it was removed, presumably because it was rarely used.
to match C comments, you need something like this:
x/\/\*([^*]|\*[^\/]|[^*\/]|\n)*\*\//
2009/6/26 hugo rivera uai...@gmail.com:
Hi,
I am trying to
2009/6/26 hugo rivera uai...@gmail.com:
Hello,
I have another problem with acme.
Lets say I want to check the spelling in all the comments in a c file,
so I execute:
Edit ,x/\/\*.*\*\// spell (nevermind this doesn't work for more
than one line comments)
and nothing happens.
this seems
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as
I wanted, thanks. But there's something I still don't understand and
is the meaning of that comma in there. As far as I know, the comma is
a mark that delimits the addresses that acme understands, but I do
not know how a comma
Hello everyone,
1) If I want to set the hardware (on-board) clock by hand, how can I?
2) If I want to synchronize the hardware time with a ntp server (once
/ periodically), how can I?
3) If I run the 'timesync -n [ntp server]' command, how is the
frequency of synchronization determined? If I run
2009/6/26 hugo rivera uai...@gmail.com:
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works as
I wanted, thanks. But there's something I still don't understand and
is the meaning of that comma in there. As far as I know, the comma is
a mark that delimits the addresses that acme
Yes, you are right. Now I understand it, I missed the / after \*, so I
was thinking that the comma was inside the regexp.
Thanks a lot :-)
2009/6/26 Rudolf Sykora rudolf.syk...@gmail.com:
2009/6/26 hugo rivera uai...@gmail.com:
I tested the command you suggested (,x/\/\*/.,/\*\//) and it works
hello,
i want to format and add a free space on /dev/sdC0 for use with fossil.
i ended up with /dev/sdC0/plan9 and /dev/sdC0/plan9.1 partitions...
then i did:
disk/prep w a fossil /dev/sdC0/plan9.1
but now, i cant find any clue what to do next , in prep(8), or fossilcons(8)
sorry for this
1) If I want to set the hardware (on-board) clock by hand, how can I?
date -n/dev/rtc
2) If I want to synchronize the hardware time with a ntp server (once
/ periodically), how can I?
modify timesync.
3) If I run the 'timesync -n [ntp server]' command, how is the
frequency of
the iwp9 4e website is up at http://iwp9.quanstro.net/.
the biggest difference from previous years is that
we would like to include works-in-progress in the
proceedings. these do not need to be lengthy
or world changing, so i would expect that most
attendees will submit one (or more?). a
I'm running plan 9 in qemu, I want to use the qemu-emulated hardware clock for
the plan 9 time because it keeps the same time as the host.
I made a script to be sourced from cpurc:
#!/bin/rc
echo ' starting timesync'
if (! test -e '/dev/rtc')
The script runs at boot, the echo tells me that much, but the time is not
set, perhaps as if timesync -r is not working. To be specific the date a few
minutes after booting is Sun Jan 2 18:30:36 GMT 2000.
i believe timesync is setting the system clock from /dev/rtc, not the other way
14 matches
Mail list logo