Re: Fwd: Command execution by creating file.

2023-06-20 Thread Lawrence Velázquez
On Tue, Jun 20, 2023, at 11:55 PM, LitHack wrote: > Sorry instead of alias we have to use the function. There is still no bug. You simply do not understand how the shell language works. (There's nothing wrong with that, of course, and questions are welcome at . But your "bug reports" have all

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Dennis Williamson
On Tue, Jun 20, 2023 at 10:55 PM LitHack wrote: > Sorry instead of alias we have to use the function. > > Corrected command: mkdir dir;cd dir;<>file;file()bash;* > > Thanks and regards. > You don't need the function either. mkdir dir; cd dir; touch bash; * -- Visit serverfault.com to get

Re: Fwd: Command execution by creating file.

2023-06-20 Thread LitHack
Sorry instead of alias we have to use the function. Corrected command: mkdir dir;cd dir;<>file;file()bash;* Thanks and regards. On Wed, Jun 21, 2023, 8:46 AM Lawrence Velázquez wrote: > On Tue, Jun 20, 2023, at 10:52 PM, LitHack wrote: > > -- Forwarded message - > > From:

Re: Command execution by creating file.

2023-06-20 Thread Martin D Kealey
The assertion "should just print the name of [the] file" is mistaken. You seem to have conflated autocompletion (which occurs while typing, usually in response to the TAB key, which is prior to parsing a command which in turn is prior to invoking it) with filename generation (which occurs as a

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Lawrence Velázquez
On Tue, Jun 20, 2023, at 10:52 PM, LitHack wrote: > -- Forwarded message - > From: LitHack > Date: Wed, Jun 21, 2023, 7:31 AM > Subject: Command execution by creating file. > To: > > > Special character '*' can be used to execute the command. > We have to just create a directory

Re: Fwd: Command execution by creating file.

2023-06-20 Thread Greg Wooledge
On Wed, Jun 21, 2023 at 08:22:19AM +0530, LitHack wrote: > Special character '*' can be used to execute the command. "Doctor, it hurts when I bend my arm like this!"

Fwd: Command execution by creating file.

2023-06-20 Thread LitHack
-- Forwarded message - From: LitHack Date: Wed, Jun 21, 2023, 7:31 AM Subject: Command execution by creating file. To: Special character '*' can be used to execute the command. We have to just create a directory and make a file of any character or word and then make alias of

Re: No form commsub if last token ends with & or ;

2023-06-20 Thread alex xmb ratchev
On Mon, Jun 19, 2023, 20:16 Chet Ramey wrote: > On 6/18/23 4:59 AM, Grisha Levit wrote: > > On Sunday, May 28, 2023, Grisha Levit wrote: > > > >> Missing final `;': > >> > >> "$BASH" --pretty-print <<< $'${ : \;;}' > >> ${ : \; } > >> > > > > The latest set of fixes to this code solves these