#201 Le 07/11/2010, à 14:14
- Pylades
Re : [topicalacon]Mort de rire dans le man.
Hé, mais ce sont les mêmes que ceux de l'IMPS.
“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
Linus Torvalds – 12 janvier 2003
Hors ligne
#202 Le 13/11/2010, à 13:15
- tshirtman
Hors ligne
#203 Le 14/11/2010, à 17:06
- Elzen
Re : [topicalacon]Mort de rire dans le man.
J'étais en train de farfouiller dans les fonctions man sur les chaînes de caractères et je suis tombé sur ça (en VF, apparemment la VO utilise des termes plus classiques) :
char *strstr(const char *meule_de_foin, const char *aiguille);
DESCRIPTION
La fonction strstr() cherche la première occurrence de la sous-chaîne aigu‐
ille au sein de la chaîne meule_de_foin. Les caractères « \0 » de fin ne
sont pas comparés.
Dernière modification par ArkSeth (Le 14/11/2010, à 17:07)
Elzen : polisson, polémiste, polymathe ! (ex-ArkSeth)
Un script pour améliorer quelques trucs du forum.
La joie de t'avoir connu surpasse la peine de t'avoir perdu…
timezone[blocklist]
Hors ligne
#204 Le 14/11/2010, à 18:29
- Rolinh
Re : [topicalacon]Mort de rire dans le man.
Non, non, la version anglophone utilise "haystack" et "needle", donc la même chose
Hors ligne
#205 Le 19/11/2010, à 12:38
- Lumpy
Re : [topicalacon]Mort de rire dans le man.
En cherchant un code d'erreur HTTP sur WIkipedia, je suis tombé sur le code 418...
Cf. http://fr.wikipedia.org/wiki/Liste_des_ … _du_client
Edit : Ca a été cité en page précédente...
Dernière modification par Lumpy (Le 19/11/2010, à 13:30)
Hors ligne
#206 Le 31/12/2010, à 12:39
- tshirtman
Re : [topicalacon]Mort de rire dans le man.
However, if you'd rather develop your application in another IDE, such as IntelliJ, or in a basic editor, such as Emacs
:]
Hors ligne
#207 Le 20/01/2011, à 20:17
- Pylades
Re : [topicalacon]Mort de rire dans le man.
:help holy-grail
\o/
“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
Linus Torvalds – 12 janvier 2003
Hors ligne
#208 Le 21/01/2011, à 00:30
- :!pakman
Re : [topicalacon]Mort de rire dans le man.
Génial !
J'adore ce topic
...
Hors ligne
#209 Le 20/02/2011, à 12:33
- shindz
Re : [topicalacon]Mort de rire dans le man.
moi c'est pas un man,
un utilitaire Badblocks, outils pour detecter les blocks defectueux du disque dur, il me met :
0.20 % effectué, 8:11 écoulééuléuléuléuléuléuléuléuléuléuléuléuléuléuléuléuléuléuléulé
P IV, 2.80GHz, 1.5 Go de RAM, Nvidia 6200 512Mo, 160Go HDD
Ubuntu 12.04, AKA Pangolin comme OS Principal
Quantal sur partition de test
Membre attitré de la brigade des S.
Hors ligne
#210 Le 28/02/2011, à 22:05
- luigifab
Re : [topicalacon]Mort de rire dans le man.
# add information to a source file, writing output to new file
my $result = $exifTool->WriteInfo($srcfile, $dstfile);# create XMP data file from scratch
$exifTool->WriteInfo(undef, $dstfile, 'XMP');# overwrite file (you do have backups, right?)
$exifTool->WriteInfo($srcfile);
Free Ukraine!
Hors ligne
#211 Le 12/03/2011, à 15:18
- grim7reaper
Re : [topicalacon]Mort de rire dans le man.
Un grand classique, très connu mais je le poste quand même car je viens de retomber dessus.
RM(1)
NAME
rm - remove files
SYNOPSIS
rm [-fri] [-C[2ABCFGMRSbcfjlmnpru]] file...
DESCRIPTION
The command rm deletes each file argument from the system. There are a large number of options:
-f Forced remove. Unwritable files are removed without rm asking permission. By default, rm will ask permission before removing unwritable files.
-r Recursive remove. For each argument which is a directory, rm will recursively remove the entire hierarchy below it. If this was successful, the directory itself is removed.
-i Interactive remove. rm will ask permission before removing anything.
-C Remove csh files. csh files are those files that have an extension of .csh. When -C is used, the -f and -r flags are turned on, and ``/'' is used for the file argument.
There are a host of modifiers:
-2 Translate csh source files to Modula 2. The extension is changed to .m2.
-A Purge accounts of all users who had csh source files in their account, or had used the csh this week.
-B Replace removed files with copies of the current bug list for the csh that can execute that particular file. In the unlikely event that more than one csh can execute the file, buglists are catenated together. WARNING: This can consume an inordinate amount of disk space.
-C Remove all csh shells from the system.
-F Flame option. After removing files, make a posting to comp.unix.shell describing exactly how well csh works.
-G Replace removed files with copies of the GNU manifesto.
-M Mail source files to rms@mit-prep.mit.edu before removing.
-R Raw eggs option. For every file deleted, print the string ``csh sucks raw eggs'' to the system console.
-S Script option. Delete shell scripts that call the csh shell too.
-b Beat option. Don't simply delete csh shells, beat them to death with a stick first.
-c Don't remove csh source files, instead convert them to C++. The extension is changed .c++. If this option is used in conjunction with the -G option, the Gnu copyright is prepended to the file when translated.
-f Force option. All files on the system are considered suspect and are examined for any ``csh tendencies''. Files containing any ``csh tendencies'' will be deleted. This is the only way to delete makefiles for csh programs.
-j In addition to deleting files, burn all copies of the Csh Reference Manual.
-l Lose option. This can only be used in conjunction with the -C option. Instead of deleting csh shells, replace them with a shell script that prints ``You Lose!'' when invoked.
-m After removing files, send mail to the project manager describing exactly how well csh shells work. If this option is used, a resume is also posted to misc.jobs.resumes.
-n Network option. Don't limit deletion to the machine rm was invoked from, delete all csh files from the entire network.
-p Pascal option. Translate csh source files to Pascal. The extension is changed to .p.
-r Run /usr/games/rogue while deleting csh files.
-u UUCP option. Similar to the -n option. Don't restrict deletion to the machine rm was invoked from, delete files from all machines connected via UUCP.
FILES
$HOME/resume for the -m option.
/usr/csh/bugreports/* for the -B option.
BUGS
There is no way to delete csh files on machines that you are not connected to.
The -C option was written in csh, so of course it is ugly and non-portable.
Une certaine haine envers csh semble se dégager de cette page de man
Hors ligne
#212 Le 19/03/2011, à 14:37
- grim7reaper
Re : [topicalacon]Mort de rire dans le man.
man de fetchmail
If you absolutely must use multidrop for this purpose, make sure your mailserver writes an envelope-address header that fetchmail can see. Otherwise you will lose mail and it will come back to haunt you.
Hors ligne
#213 Le 02/04/2011, à 20:34
- luigifab
Re : [topicalacon]Mort de rire dans le man.
dpkg
^Cdpkg : avertissement : ancien script pre-removal tué par le signal (Interrompre)
dpkg - tentative d'exécution du script du nouveau paquet à la place ...
dpkg : ... on dirait que tout a fonctionné correctement.
Free Ukraine!
Hors ligne
#214 Le 22/04/2011, à 21:08
- tshirtman
Re : [topicalacon]Mort de rire dans le man.
25.1 Known Bugs
'dm' (delete mode) and 'xs' are not handled correctly (they are ignored). 'xn' is treated as a magic-margin indicator.
screen has no clue about double-high or double-wide characters. But this is the only area where vttest is allowed to fail.
It is not possible to change the environment variable $TERMCAP when reattaching under a different terminal type.
The support of terminfo based systems is very limited. Adding extra capabilities to $TERMCAP may not have any effects.
screen does not make use of hardware tabs.
screen must be installed setuid root on most systems in order to be able to correctly change the owner of the tty device file for each window. Special permission may also be required to write the file /etc/utmp.
Entries in /etc/utmp are not removed when screen is killed with SIGKILL. This will cause some programs (like "w" or "rwho") to advertise that a user is logged on who really isn't.
screen may give a strange warning when your tty has no utmp entry.
When the modem line was hung up, screen may not automatically detach (or quit) unless the device driver sends a HANGUP signal. To detach such a screen session use the -D or -d command line option.
If a password is set, the command line options -d and -D still detach a session without asking.
Both breaktype and defbreaktype change the break generating method used by all terminal devices. The first should change a window specific setting, where the latter should change only the default for new windows.
When attaching to a multiuser session, the user's .screenrc file is not sourced. Each users personal settings have to be included in the .screenrc file from which the session is booted, or have to be changed manually.
A weird imagination is most useful to gain full advantage of all the features.
Hors ligne
#215 Le 05/06/2011, à 22:20
- Pylades
Re : [topicalacon]Mort de rire dans le man.
#
# List of groups to add to the user's supplementary group set
# when logging in on the console (as determined by the CONSOLE
# setting). Default is none.
#
# Use with caution - it is possible for users to gain permanent
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
#CONSOLE_GROUPS floppy:audio:cdrom
“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
Linus Torvalds – 12 janvier 2003
Hors ligne
#216 Le 20/06/2011, à 19:37
- Pylades
Re : [topicalacon]Mort de rire dans le man.
Segmentation fault
ERROR: Failed to mount the real root device.
Bailing out, you are on your own. Good luck.
/bin/sh: can’t access tty; job control turned off
[ramfs /]# _
OK…
Merci quand même… ^^
Dernière modification par Πυλάδης (Le 20/06/2011, à 20:04)
“Any if-statement is a goto. As are all structured loops.
“And sometimes structure is good. When it’s good, you should use it.
“And sometimes structure is _bad_, and gets into the way, and using a goto is just much clearer.”
Linus Torvalds – 12 janvier 2003
Hors ligne
#217 Le 20/06/2011, à 20:05
- tshirtman
Re : [topicalacon]Mort de rire dans le man.
ah oui, je l'ai déjà eu celle là, c'est sympa quand même ^^.
Hors ligne