elks-enhanced
public
Read
Owner: themaster
Branch: master
Commits: 6893
Updated: 2026-04-19 00:15
Git CLI clone URL
git clone https://www.xt-emporium.com/git/elks-enhanced.git
Fullscreen desktop URL
Code
Commits
History
Branches
Bug Reports
Discussions
Compare
Settings
elks-enhanced
/
elkscmd
/
ash
/
bltin
/
line.c
File editor
/* * The line command. Reads one line from the standard input and writes it * to the standard output. * * Copyright (C) 1989 by Kenneth Almquist. All rights reserved. * This file is part of ash, which is distributed under the terms specified * by the Ash General Public License. See the file named LICENSE. */ #define main linecmd #include "bltin.h" main(argc, argv) char **argv; { char c; for (;;) { if (read(0, &c, 1) != 1) { putchar('\n'); return 1; } putchar(c); if (c == '\n') return 0; } }
Commit message
This repository is read-only for this account.
Repository snapshot
Current branch
master
Visibility
public
Your access
Read
Remote
Configured
File activity
View file history