Re: bash command alias has a problem in using brace.

2021-08-31 Thread Chet Ramey
On 8/27/21 9:47 PM, Dale R. Worley wrote: Hyunho Cho writes: but if i use alias then '>' prompt does not appear and default bash prompt appears bash$ alias myalias='{ cat <<\@ > foo ;} 2> /dev/null' bash$ myalias bash$ 111 bash$ 222 # bash$ prompt bash$ @ I don't know the d

Re: bash command alias has a problem in using brace.

2021-08-27 Thread Dale R. Worley
Hyunho Cho writes: > If i enter a command line like below then '>' prompt appears for the > input of here document. > > bash$ { cat <<\@ > foo ;} 2> /dev/null >> 111 >> 222 # '>' prompt >> @ > > > but if i use alias then '>' prompt does not appear and default bash > prompt app