[LUGOS] IFS=\n

Metod Kozelj metod.kozelj at lugos.si
Wed Oct 30 08:08:55 CET 2002


Howdy!

Igor Kolar wrote:

>IFS=\n ne zaleže, tudi ne, če quote-iram z single/double quotes.
>

Kaj pa takole:

IFS="\
"

torej zaporedje tipk

I F S = " \ <ENTER> " <ENTER>

Ko nastavljaš spremenljivke, bash ne naredi tistih 'character 
expansionov'. Tisto naredi echo.

-- 
Peace!
  Mkx

---- perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'





More information about the lugos-list mailing list