Search Results

Search: Posts Made By: heinzel
1,712
Posted By heinzel
Hi thanks eval worked! tail was just a...
Hi thanks eval worked!

tail was just a placeholder for another program
1,712
Posted By heinzel
Input redirection within bash script
Hi,

when I try to redirect input and the command is described as a string within an array redirection does not work. why?

#!/bin/bash

dir=("tail < ./hello.txt")

tail < ./hello.txt #works...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 09:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy