Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

Re: Custom Commands: prompt

Sorry, I've missed that. It is not possible.
Hackepeter

Custom Commands: prompt

Thanx,

but I think my question was not clear enough. Sorry for my english..

In the command I ask for a parameter to search for. OK

I want to write the grep-output to a file named with the search-parameter.
for instance:

If I search for the string 01234567 then I want to write a file wich is named: extract_01234567.file

My question was if this is possible without asking twice with an ?input-command

Thanx again
martin

Re: Custom Commands: prompt

Please read documentation.
Hackepeter

Custom Commands: prompt

Hopefully I find a way to describe what I want to do...

I have some custome commands set to extract(grep) datasets from bigger file to an extra file with a special name.
her is my command:
cat ! | egrep '^E.!?input:?0000000000!' >extract_TR_###.file

At the position ### I want to set the filename to what I have typed in the prompt.
How can I do this? Is there a special variable used for what was passed by the input(prompt)?

Thanx