@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9



Comments:

<0> If it helps, the reason for asking is in http://pastebin.ca/108591
<1> but bonsai's expression will shorten it...
<2> $ STRING="../file.o"; echo "${STRING#?}"
<2> ./file.o
<3> elad`: doesn't look like bash to me.
<0> I figured all shells are alike in that sense. If it's not a shell thing, I'm not qualified to notice.
<3> make is a shell?
<0> Well, I meant, Linux style address thingamabob.
<4> you might also use ${STRING/#../.} if you are paranoid about the ..
<2> that's a Makefile
<2> Makefile syntax != shell Syntax
<5> make != bash
<2> that too ;)
<5> make does not even call bash
<4> ahh, make. make ****s.
<6> but but.. you run it in bash? THUS YOU MUST HELP!



<5> it just calls a posix-compatible shell
<4> ##workingset
<2> $(shell ..) will call /bin/sh afaik
<4> provided it isn't a syntax error.
<5> Knirch: make is run in csh, most of the time
<6> i don't run make, i run from make
<5> okay, if it's about ways to call make, this channel is okay
<5> when make runs, it's up to make, not bash
<1> Knirch: screaming the whole time?
<2> heh
<6> yes
<6> and flailing like a little girl
<7> is there a way to find out the creation time in UFS?
<3> well, why did you come to this channel?
<7> bevcause i need a command?
<1> !ctime
<8> ctime is NOT creation time! It's (metadata) change time. It's updated whenever a file's ownership, permissions, etc. change.
<7> yea.. its mtime
<3> your logic seems rotten.
<7> I need creation time
<9> no such animal.
<1> it is not stored anywhere.
<7> :/
<7> greycat: is it possible like write a script for it?
<1> tzard: sure! right after I write a script that turns all my 1-dollar bills into 7-dollar bills.
<1> I'll be 7 times as rich as I am now!!!
<7> all I meant is.. is it possible to do that with scripting?
<7> like a script that logs the timestamp in all new files.. or something
<7> or ls -lR / and pipe it into a diff... I dunno
<4> seems unlikely.
<0> I'm sorry if this wasn't the right place (#linux-address-manipulation was empty). Don't shoot me.
<0> So is #make, btw.
<4> as i said earlier ... ##workingset
<0> Thanks, I'll try to remember to see what they have to offer once I'm done, right now I've figured out a workaround and I have busywork to do.
<7> So what do you guys propose or suggest please?
<4> tzard: ufs doesn't record it. if you run find periodically you can make your own list, but it'll be out of sync.
<1> tzard: I propose you stop asking for things that cannot be done.
<1> find an alternative way to achieve your unspecified goal
<1> or, you know, you could state what that goal is.
<7> NTFS has creation date
<9> this isnt ntfs.
<7> yea
<5> tzard: what do you need that time for?
<2> this also tends to be a FAQ
<2> dunno why
<1> and apparently getting tzard to *tell* us why is just as impossible as getting creation time of a unix file.
<2> !learn
<8> usage: !learn key value...
<2> !learn creattime There is no thing like a "creation time" on a UNIX filesystem in general. Some filesystems may provide it, but you would need to ask in the channel of your operating system, how to retrieve that value then.
<8> OK, TheBonsai
<2> !creattime
<8> There is no thing like a "creation time" on a UNIX filesystem in general. Some filesystems may provide it, but you would need to ask in the channel of your operating system, how to retrieve that value then.
<2> greybot: you rock
<1> I probably would've gone with creation_time as the key
<4> without an e?
<1> he's following Ken's lead.
<1> (or Dennis's... whoever did that one)
<2> !forget
<8> ERROR: failed to open meta/ (Is a directory)
<2> pardon?
<2> !forget creattime



<8> OK, TheBonsai
<2> aaah
<4> hee
<2> !learn creation_time There is no thing like a "creation time" on a UNIX filesystem in general. Some filesystems may provide it, but you would need to ask in the channel of your operating system, how to retrieve that value then.
<8> OK, TheBonsai
<1> TheBonsai: did you have a space after the !forget on that one?
<1> !forget
<8> ERROR: failed to open meta/ (Is a directory)
<2> no
<1> hmm, ok...
<2> seems in meta/ your stuff is stored
<1> that could be improved a bit.
<1> yes, meta/ holds logs of who did what to which factoid
<2> ah, so key==<null> breaks it a bit
<1> !meta creattime
<8> TheBonsai 1154364197 forget
<1> "!meta" will only display the most recent entry from the log for that factoid; but if I go there in my shell I can see it all
<2> it would make sense to make it output the time in a human readable format
<2> actually for humans not called greycat :) i lack in deciphering epoch stamps ;)
<1> but I'm lazy.
<2> heh
<4> surprisingly he doesn't seem to use multilog, else you'd see those horrific tai64 things.
<1> I do use multilog for the bot's stdout which is essentially a transcript of everything it sees. but not on the meta/ stuff.
<4> weenor!
<1> @4000000044ce358326b9a87c <4> weenor!
<2> 4000000044ce358326b9a87c what the...
<10> how do I remove common lines from two files?
<1> TheBonsai: http://cr.yp.to/daemontools/tai64nlocal.html
<1> !faqsubtract
<8> http://wooledge.org/mywiki/BashFaq#faq36 -- How can I get all lines that are: in both of two files (set intersection) or in only one of two files (set subtraction).
<10> thanks
<9> mutter
<9> i hate tomcat
<7> you can't 'nice' a process that's already running, can you?
<5> renice
<7> neat!
<7> :-)
<2> is there a program like banner(1) but actually doing stuff horizontal?
<6> figlet
<9> banner did it horizontal on irix
<2> _sho_: here it's designed for pritnter banners i guess
<1> there are different versions of banner(1) on various systems
<2> Knirch: thx alot
<2> greycat: i somehow guessed that
<2> :)
<1> some Linux boxes have a "banner5" which is SysVish
<2> figlet is awsome
<11> :)
<2> hey franl!
<12> Hi, TheBonsai. How's it going?
<2> a bit sick, and stressed. as usual ;) u?
<12> OK. Just had a code freeze deadline at work. Now I'm fixing bugs for the next 8 weeks.
<2> uh. sounds not that much funny
<12> It's not bad. Part of the job. Write some code, then maintain it.
<2> well, fixing your own bugs is hard, usually
<12> I'd rather fix my own bugs than someone else's.
<2> true
<2> i need a faster line :/ uploaded 250MB in 4h :/ that ****s
<2> heh
<13> ooh, I think that's worse than even my connection
<2> Vasistha: it's async. 128Kb/s up, 786 down
<13> I can usually do about 100MB / hr ... when the connection *works*
<1> mine's 256kB/s up.
<13> TheBonsai: oh, upload ... heh, I was thinking download ... yeah, my upload is probably no faster than that
<13> greycat: kB or kb?
<1> and I've got PF set to 190kB/s up, which may a bit too low.
<1> err, kb/s.
<1> sorry about that.
<2> greycat: it's faster then i'd expect when i see how the wiki loads. is it throttled?
<1> I use priority queueing in PF
<2> oic
<2> apropos - my router misses that - need to fix
<1> after fixing the bits that made the TCP window scaling not work (which was my fault, as it turns out...), I might be able to get decent latency on interactive connections with a higher total throughput. may have to experiment.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #bash
or
Go to some related logs:

java-void(0)
MSSQL2005 RETURN_VALUE
#web
connect to ubuntu
test_ffmpeg.php
#javascript
Ubuntu Alien dh_testdir
#ubuntu
#mysql
ipw-2.4-boot.fw load failed:



Home  |  disclaimer  |  contact  |  submit quotes