Skip to content

Commit

Permalink
Some updates
Browse files Browse the repository at this point in the history
- 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
ercanersoy committed May 9, 2020
1 parent b370b58 commit 2817f28
Show file tree
Hide file tree
Showing 23 changed files with 333 additions and 299 deletions.
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bin

*.O
*.o
bin

*.O
*.o
140 changes: 70 additions & 70 deletions Makefile
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
195 changes: 102 additions & 93 deletions README.md
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.
12 changes: 12 additions & 0 deletions README/EN/README
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ You should be compiled the command line is given below.
-- 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.
Expand Down
13 changes: 13 additions & 0 deletions README/TR/README
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@ A
-- De�i�im G�nl��� --


--- 0.6 (05-09-2020) ---

* "README.md" dosyas� ve "README" dosyalar�, �nceki s�r�mlerin de�i�im
g�nl�kleri dahil g�ncellendi.
* "binaries" dizini silindi.
* "Makefile" dosyas� g�ncellendi.
* ".gitignore" dosyas� g�ncellendi.
* LF sat�r sonland�rmal� unutulan dosyalar, CR/LF sat�r sonland�rmal� olarak
d�n��t�r�ld�.
* Dil ba�l�k dosyalar� g�ncellendi.
* S�r�m bilgisi g�ncellendi.


--- 0.5 (06-03-2019) ---

* GNU GPL s�r�m 2.0 ve GNU GPL s�r�m 3.0 olarak �ift lisanslamaya ge�ilmi�tir.
Expand Down
Empty file modified commands/beep.c
100644 → 100755
Empty file.
Empty file modified commands/cat.c
100644 → 100755
Empty file.
Empty file modified commands/cd.c
100644 → 100755
Empty file.
Empty file modified commands/clear.c
100644 → 100755
Empty file.
Empty file modified commands/cp.c
100644 → 100755
Empty file.
Empty file modified commands/date.c
100644 → 100755
Empty file.
Empty file modified commands/echo.c
100644 → 100755
Empty file.
Empty file modified commands/help.c
100644 → 100755
Empty file.
Empty file modified commands/ls.c
100644 → 100755
Empty file.
Empty file modified commands/mkdir.c
100644 → 100755
Empty file.
Empty file modified commands/mv.c
100644 → 100755
Empty file.
Empty file modified commands/pwd.c
100644 → 100755
Empty file.
Empty file modified commands/rm.c
100644 → 100755
Empty file.
Empty file modified commands/rmdir.c
100644 → 100755
Empty file.
Empty file modified commands/sh.c
100644 → 100755
Empty file.
Empty file modified commands/time.c
100644 → 100755
Empty file.
Loading

0 comments on commit 2817f28

Please sign in to comment.