summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-02-22splitting the argument into the source and detinationAbdellah El Morabit
2025-02-22splitting the argument in to the source and the destination file, only for ↵Abdellah El Morabit
certain commands
2025-02-22still thinking on how to properly implement thisAbdellah El Morabit
2025-02-22working on the making a copy of a file, so reading the contents and making a ↵Abdellah El Morabit
new file and writing to it the contents of the previous file
2025-02-22working on the recursive deletion of filesAbdellah El Morabit
2025-02-22i think everything works except for the new features im planning on adding ↵Abdellah El Morabit
and the remove file/ directory permissions but i dont know how to do that yet
2025-02-20encountering one bug after an other, having trouble with the pointers and ↵Abdellah El Morabit
string readings
2025-02-19huge step in the code redesign got the core of the code working, now whats ↵Abdellah El Morabit
left is to work on small little features and then fine tune everything
2025-02-19renamed the ls command for better code readabilityAbdellah El Morabit
2025-02-19prototype for the featureAbdellah El Morabit
2025-02-19prototype for the featureAbdellah El Morabit
2025-02-19prototype for the featureAbdellah El Morabit
2025-02-19prototype for the featureAbdellah El Morabit
2025-02-19prototype for the featureAbdellah El Morabit
2025-02-19redesigned the main function, its way smaller nowAbdellah El Morabit
2025-02-19had to update the way the pwd command and the echo command work because of ↵Abdellah El Morabit
the new code design, echo now has a seperate function and pwd has to take in an argument and then cancel it, this is because of the code structure i commited earlier but instead of making a seperate code structure for every type of command ill just handle it in the commands that dont need it
2025-02-19working on the body of the new features of the shellAbdellah El Morabit
2025-02-19an array that stores all of the available commandsAbdellah El Morabit
2025-02-19this structure defines the data format for us to execute a command based on ↵Abdellah El Morabit
the user input
2025-02-19somehow made a function that exeutes the commands that it pulls from an ↵Abdellah El Morabit
array of commands and its working
2025-02-19Merge remote-tracking branch 'origin/master'Abdellah El Morabit
2025-02-19committing cmake filesAbdellah El Morabit
2025-02-18Reworked alot of code and featuresnasrlol
Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18these are my curent findings on the getcwd command from the unistd.h librarynasrlol
Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18started on the optimization of the code, i didnt like the if ladder so now ↵nasrlol
im working on altnerative and better way to do what it dit, this involves cycling thorgh a strutred array and executing the matching function, this should be more performant and give better code readability also added function prototypes and figured out the feature scope of de software Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18implemented the clear function in the if else ladder, dont know if there is ↵nasrlol
a nicer way to do this, ill have to think about it Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18again seg faults=nasrlol
Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18handling seg faults againnasrlol
Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18thought that clearing the terminal before showing the shell would give it a ↵nasrlol
more real experience Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18handling segmentation faultnasrlol
Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18started working on the change directory command, and im still reading the ↵nasrlol
documentation about how I should approach this, also made a clear command, found how to do this in the clear man pages, what I did was pretty simple, just using the clear terminal screen text sequence and clear scroll buffer text sequence Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-18ls is working nowAbdellah El Morabit
2025-02-18tested the ls code seperatly and it workedAbdellah El Morabit
2025-02-18was freeing a pointer before i used it for its purpose what made some things ↵Abdellah El Morabit
mall function
2025-02-17tried to fix the display of the files in a folder but still isnt working but ↵nasrlol
the seg faults are fixed properly Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-17tried to fix the display of the files in a folder but still isnt working but ↵nasrlol
the seg faults are fixed properly Signed-off-by: nasrlol <nsrddyn@gmail.com>
2025-02-17fixed the segmentation faultsAbdellah El Morabit
2025-02-17fixed the segmentation faultsAbdellah El Morabit
2025-02-13fixed the segmentation fault, and found a better way to impelment echonasrlol
2025-02-13fixed some basic program problems, but at the moment im having issue with a ↵nasrlol
segfault somehow somewhere
2025-02-1230 unversioned filesnasrlol
2025-02-12working on the main function of the code trying to get the lines to ↵nasrlol
correctly dislay everything, still having a little of trouble though
2025-02-12removed a couple of files from the directoryAbdellah El Morabit
2025-02-11refactored alot of the code, renamed functions, worked on the echo function, ↵nasrlol
still unfinished, worked on the ls command, i think it works but i encountered a complication when writing the main function. i was planning on using argv as an argument for the function, but argv is received when calling the executable not when calling a function, so i have to find a work around for this
2025-02-10worked on an algorithm for the echo functionnasrlol
2025-02-09fixed a small bug when trying to list the directory still have to solve ↵nasrlol
numerical result out of range error
2025-02-08exit is working nownasrlol
2025-02-08worked a bit on the main function of the source codenasrlol
2025-02-05switching away from using readline after realizing it was making things a ↵Abdellah El Morabit
little to easy, wouldnt give me the fullfilling feeling im looking for...
2025-02-02trying to implement scandirAbdellah El Morabit