-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated language strings. - Converted forgotten files with LF line ending to CR/LF line ending. - Updated documentation. Signed-off-by: Ercan Ersoy <[email protected]>
- Loading branch information
1 parent
b370b58
commit 2817f28
Showing
23 changed files
with
333 additions
and
299 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
bin | ||
|
||
*.O | ||
*.o | ||
bin | ||
|
||
*.O | ||
*.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
# Makefile - Build file | ||
# Written by Ercan Ersoy. | ||
|
||
CC = gcc | ||
CFLAGS = -O1 -s -c | ||
LD = gcc | ||
LDFLAGS = -O1 -s | ||
|
||
dos: bin/minibox.exe | ||
|
||
bin/minibox.exe: main.o commands/beep.o commands/cat.o commands/cd.o commands/clear.o commands/cp.o commands/date.o commands/echo.o commands/help.o commands/ls.o commands/mkdir.o commands/mv.o commands/pwd.o commands/rm.o commands/rmdir.o commands/sh.o commands/time.o | ||
mkdir bin | ||
$(LD) $(LDFLAGS) $? -o $@ | ||
|
||
main.o: main.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/beep.o: commands/beep.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/cat.o: commands/cat.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/cd.o: commands/cd.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/clear.o: commands/clear.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/cp.o: commands/cp.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/date.o: commands/date.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/echo.o: commands/echo.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/help.o: commands/help.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/ls.o: commands/ls.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/mkdir.o: commands/mkdir.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/mv.o: commands/mv.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/pwd.o: commands/pwd.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/rm.o: commands/rm.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/rmdir.o: commands/rmdir.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/sh.o: commands/sh.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/time.o: commands/time.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
clean: | ||
del main.o | ||
del commands\*.o | ||
del bin\*.* | ||
rmdir bin | ||
# Makefile - Build file | ||
# Written by Ercan Ersoy. | ||
|
||
CC = gcc | ||
CFLAGS = -O1 -s -c | ||
LD = gcc | ||
LDFLAGS = -O1 -s | ||
|
||
dos: bin/minibox.exe | ||
|
||
bin/minibox.exe: main.o commands/beep.o commands/cat.o commands/cd.o commands/clear.o commands/cp.o commands/date.o commands/echo.o commands/help.o commands/ls.o commands/mkdir.o commands/mv.o commands/pwd.o commands/rm.o commands/rmdir.o commands/sh.o commands/time.o | ||
mkdir bin | ||
$(LD) $(LDFLAGS) $? -o $@ | ||
|
||
main.o: main.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/beep.o: commands/beep.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/cat.o: commands/cat.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/cd.o: commands/cd.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/clear.o: commands/clear.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/cp.o: commands/cp.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/date.o: commands/date.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/echo.o: commands/echo.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/help.o: commands/help.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/ls.o: commands/ls.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/mkdir.o: commands/mkdir.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/mv.o: commands/mv.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/pwd.o: commands/pwd.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/rm.o: commands/rm.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/rmdir.o: commands/rmdir.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/sh.o: commands/sh.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
commands/time.o: commands/time.c | ||
$(CC) $(CFLAGS) $? -o $@ | ||
|
||
clean: | ||
del main.o | ||
del commands\*.o | ||
del bin\*.* | ||
rmdir bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,93 +1,102 @@ | ||
# Minibox | ||
|
||
Small Linux commands for resource limited systems | ||
|
||
Copyright (C) 2017-2020 Ercan Ersoy | ||
|
||
This software is licensed under GNU General Public License version 2 and GNU General Public License version 3. | ||
|
||
## Compile | ||
|
||
The program must be compiled with GCC. | ||
|
||
### MS-DOS, FreeDOS, etc. | ||
|
||
You must use DJGPP. | ||
|
||
You should be compiled this command line is given below. | ||
|
||
make dos | ||
|
||
## Usage | ||
|
||
MINIBOX Command [Arguments] | ||
MINIBOX --help|--version | ||
|
||
## Commands | ||
|
||
* beep | ||
* cat | ||
* cd | ||
* clear | ||
* cp | ||
* date | ||
* echo | ||
* help | ||
* ls | ||
* mkdir | ||
* mv | ||
* pwd | ||
* rm | ||
* rmdir | ||
* sh | ||
* time | ||
|
||
## Changelog | ||
|
||
### 0.5 (06-03-2019): | ||
* Switched to dual licencing as GNU GPL version 2.0 and GNU GPL version 3.0. | ||
* Updated language strings at header files. | ||
* Renamed macro name of strings. | ||
* Updated header and source files for standardization. | ||
* Fixed wrong default language configuration at "config.h" file. | ||
* Added ".o" pattern to ".gitignore" file. | ||
* Changed directory tree for binaries. | ||
* Changed build settings to -01 optimisation. | ||
* Updated executable file of this software. | ||
* Updated "README" files and "README.md" file. | ||
* Updated verison information. | ||
* Updated changelog. | ||
|
||
### 0.4 (04-30-2018): | ||
* This license of this software switched GNU GPL version 2.0 to GNU GPL version 3.0. | ||
* Fixed typing errors. | ||
* Changed directory tree. | ||
* Added language files. | ||
* Added language configuration to "config.h" file. | ||
* Translated to Turkish Language. | ||
* Updated verison information. | ||
* Added changelog. | ||
|
||
### 0.3 (07-29-2017): | ||
* Fixed bugs on pwd, rm, sh and time commands. | ||
* Deleted spare code on date command. | ||
* Added executable file of this software. | ||
* Updated version information. | ||
|
||
### 0.2 (06-16-2017): | ||
* Fixed deleting not properly bug on rm command. | ||
* Fixed wrong #ifdef preprocessors and fix version bug in main module. | ||
* Changed code as minor of Minibox. | ||
* Removed executable file of this software. | ||
* Added help command. | ||
* Enhanced Makefile file. | ||
* Updated verison information. | ||
|
||
### 0.1 (04-25-2017): | ||
* Initial version | ||
|
||
## Notes | ||
|
||
* FreeDOS is a registered trademark of Jim Hall. | ||
* Linux is a registered trademark of Linus Tovarlds. | ||
* MS-DOS is a registered trademark of Microsoft Corporation. | ||
# Minibox | ||
|
||
Small Linux commands for resource limited systems | ||
|
||
Copyright (C) 2017-2020 Ercan Ersoy | ||
|
||
This software is licensed under GNU General Public License version 2 and GNU General Public License version 3. | ||
|
||
## Compile | ||
|
||
The program must be compiled with GCC. | ||
|
||
### MS-DOS, FreeDOS, etc. | ||
|
||
You must use DJGPP. | ||
|
||
You should be compiled this command line is given below. | ||
|
||
make dos | ||
|
||
## Usage | ||
|
||
MINIBOX Command [Arguments] | ||
MINIBOX --help|--version | ||
|
||
## Commands | ||
|
||
* beep | ||
* cat | ||
* cd | ||
* clear | ||
* cp | ||
* date | ||
* echo | ||
* help | ||
* ls | ||
* mkdir | ||
* mv | ||
* pwd | ||
* rm | ||
* rmdir | ||
* sh | ||
* time | ||
|
||
## Changelog | ||
|
||
### 0.6 (05-09-2020): | ||
* Updated "README.md" file and "README" files including changelog of previous versions. | ||
* Deleted "binaries" directory. | ||
* Updated "Makefile" file. | ||
* Updated ".gitignore" file. | ||
* Converted forgotten files with LF line ending to CR/LF line ending. | ||
* Updated language header files. | ||
* Updated verison information. | ||
|
||
### 0.5 (06-03-2019): | ||
* Switched to dual licencing as GNU GPL version 2.0 and GNU GPL version 3.0. | ||
* Updated language strings at header files. | ||
* Renamed macro name of strings. | ||
* Updated header and source files for standardization. | ||
* Fixed wrong default language configuration at "config.h" file. | ||
* Added ".o" pattern to ".gitignore" file. | ||
* Changed directory tree for binaries. | ||
* Changed build settings to -01 optimisation. | ||
* Updated executable file of this software. | ||
* Updated "README" files and "README.md" file. | ||
* Updated verison information. | ||
* Updated changelog. | ||
|
||
### 0.4 (04-30-2018): | ||
* This license of this software switched GNU GPL version 2.0 to GNU GPL version 3.0. | ||
* Fixed typing errors. | ||
* Changed directory tree. | ||
* Added language files. | ||
* Added language configuration to "config.h" file. | ||
* Translated to Turkish Language. | ||
* Updated verison information. | ||
* Added changelog. | ||
|
||
### 0.3 (07-29-2017): | ||
* Fixed bugs on pwd, rm, sh and time commands. | ||
* Deleted spare code on date command. | ||
* Added executable file of this software. | ||
* Updated version information. | ||
|
||
### 0.2 (06-16-2017): | ||
* Fixed deleting not properly bug on rm command. | ||
* Fixed wrong #ifdef preprocessors and fix version bug in main module. | ||
* Changed code as minor of Minibox. | ||
* Removed executable file of this software. | ||
* Added help command. | ||
* Enhanced Makefile file. | ||
* Updated verison information. | ||
|
||
### 0.1 (04-25-2017): | ||
* Initial version | ||
|
||
## Notes | ||
|
||
* FreeDOS is a registered trademark of Jim Hall. | ||
* Linux is a registered trademark of Linus Tovarlds. | ||
* MS-DOS is a registered trademark of Microsoft Corporation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Oops, something went wrong.