Matteo Basso - Net Stop Snc wrote:
> A little tip to write some source code on wiki:
>
> If you want post/write on wiki your .config file or your script you use:
>   name
>   name2
>
> with a ' ' at the beginning of EVERY line.
> To post extended file with " " space you waste a lot of time...a little 
> solution? sed.
>
> [EMAIL PROTECTED]:~$ sed 's/^/ /' /PATH/OF/YOUR/FILE >> file-for-wiki
>
> now copy your file-for-wiki on wiki:)
> Matteo
>
> ps: I write it after modified of gentoo .config file on wiki
>   

Ouch. You could just wrap the whole block in '{{{' and '}}}' and not 
have to faff with sed every time you copy/paste a large chunk of code.

Chris

_______________________________________________
Soekris-tech mailing list
[email protected]
http://lists.soekris.com/mailman/listinfo/soekris-tech

Reply via email to