<commit_before>/* Copyright 2009 INRIA, Université Bordeaux 1  */

#include <topology.h>

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#ifdef HAVE_CAIRO
#include <cairo.h>
#endif

#include "lstopo.h"

static void usage(void)
{
  fprintf (stderr, "Usage: lstopo [ options ]... [ filename ]\n");
  fprintf (stderr, "\n");
  fprintf (stderr, "By default, lstopo displays a graphical window with the topology if DISPLAY is\nset, else a text output on the standard output.\n");
  fprintf (stderr, "To force a text output on the standard output, specify - or /dev/stdout as\nfilename.\n");
  fprintf (stderr, "Recognised file formats are: .txt, .fig, .pdf, .ps, .png, .svg\n");<commit_msg>lstopo really needs to include the libtopology ...<commit_after>/* Copyright 2009 INRIA, Université Bordeaux 1  */

#include <topology.h>

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

#include <config.h>

#ifdef HAVE_CAIRO
#include <cairo.h>
#endif

#include "lstopo.h"

static void usage(void)
{
  fprintf (stderr, "Usage: lstopo [ options ]... [ filename ]\n");
  fprintf (stderr, "\n");
  fprintf (stderr, "By default, lstopo displays a graphical window with the topology if DISPLAY is\nset, else a text output on the standard output.\n");
  fprintf (stderr, "To force a text output on the standard output, specify - or /dev/stdout as\nfilename.\n");
  fprintf (stderr, "Recognised file formats are: .txt, .fig, .pdf, .ps, .png, .svg\n");
{'fraction_non_alphanumeric': 0.1451169188445667, 'fraction_numerical': 0.0068775790921595595, 'mean_word_length': 4.105263157894737, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4176159', 'n_tokens_mistral': 509, 'n_tokens_neox': 498, 'n_words': 178}