{
  "id": 19770049,
  "title": "Developer cleverly shrank 2,600 lines of C into a six-line script but still ending up losing sleep",
  "url": "https://urgent.news/2026/11/13/developer-cleverly-shrank-2-600-lines-of-c-into-a-six-line-script-but-19770049",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-13T06:27:00.000Z",
  "source": {
    "name": "The Register",
    "slug": "the-register",
    "url": "https://www.theregister.com/software/2026/11/13/developer-cleverly-shrank-2600-lines-of-c-into-a-six-line-script-but-still-ending-up-losing-sleep/5309264"
  },
  "original_language": "en",
  "account": "In the tech support world, a developer named Tim made headlines by rewriting 2,650 lines of C code into just six lines of a shell script. His task arose from a need to fix a data transfer program that utilized a custom implementation of File Transfer Protocol (FTP).\n\nTim encountered a challenge in locating the FTP source code, as he had to rely on a Wide Area Information Server (WAIS) to search through remote databases. Due to the limitations of the era, with no Linux available and AT&T porting Unix source code to universities without public release, Tim spent considerable time researching and decoding the FTP code.\n\nOnce he had identified the necessary code, Tim crafted his script, which ran overnight to gather data from the telco's switches, process the raw information, and transfer it to a mainframe. The script featured an automated paging system that would alert him if it encountered connection issues with the switch or mainframe after three attempts.\n\nDespite the script's functionality, the telco's networks were unable to utilize it effectively. Consequently, Tim's pager began buzzing intermittently, night after night for two weeks. After expressing his grievances to his manager, Tim was eventually relieved of the pager duty. However, the new pager recipient proved unreliable, further exacerbating the sleepless nights. Tim eventually had to reclaim the pager and face the inevitable nightly interruptions.",
  "summary": "It wasn't the not-very-legal source code raid that caused it, but a colleague who punted a pager",
  "key_points": [],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}