bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Please take a look at this bug


From: Mostafa Nazari
Subject: Please take a look at this bug
Date: Sun, 23 Aug 2015 15:12:20 +0430

I know why this is a bug, but this is! a bug. please inform me if there is any working around this.

#!/bin/bash

function bug_part() {
        cat $1 > sample.fisrt
        cat $1 > sample.second
}

bug_part <(echo "TEST")
[ "$(cat sample.fisrt)" != "$(cat sample.second)" ] && echo "THIS IS A BUG" 1>&2 && exit 1
rm sample.first sample.second

reply via email to

[Prev in Thread] Current Thread [Next in Thread]