Allow output redirection with > and >> operator

Description

Implement check for ">" or ">>" at the end of the command line followed by a filename. Write output of last command to file.

overwrite file:
echo "Hello World" > myFile.txt

Append to file:
echo "Hello World" >> myFile.txt

Activity

Show:
Luis Majano
July 9, 2014, 6:28 PM

You can go ahead and do this.

Fixed

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Affects versions

None

Fix versions

Time tracking

0m

Time remaining

0m

Priority

Major

Components