Questions tagged [tac]
25 questions
0
votes
3 answers
check whether command has a specific command line option
Is there any way to check whether a command has a specific command line option from shell script?
My use case is tail command. In BSD version of tail, it has -r (reverse) option. This option is not available in GNU version
I can do a check from…

Phuong Nguyen
- 2,960
- 1
- 16
- 25
0
votes
1 answer
Deploy tacacs+ on kubernetes
I used TACACS+ using image form here that work well with both following methods, until I see the accounting logs:
By docker run, it can logs the actual switches address for the NAS field.
By Rancher Deployment, it logs the Rancher Nodes address…

gdp
- 1
- 1
0
votes
1 answer
Talend Build Job - Compilation issue
I have been using Talend Data Integration Tool (Licensed Version) in my company.But,since its license is too much expensive,we have been told to use Talend Open Studio (Free Open source version).So,we have to move all our existing jobs to Free…

SRK
- 135
- 8
0
votes
2 answers
TAC (Talend Administration center) synchronisation problem with the job server ( job still showing "running" in tac though the job finished)
I have an issue that occurs in DI 6.2 with a job that stucks with the status "running" on TAC but when i verify directly in the job server i find that job finished executing,
I can't find the root cause for this issue, the logs on the server doesn't…

Djo
- 11
- 2
0
votes
3 answers
Awk - Printing n last, interspersed lines containing keyword
Assume a multi-line text file file, with some lines beginning with the keyword baz.
$ cat file
foo bar
baz qux # line to be deleted
foo bar
foo bar baz
baz
baz qux quux
foo bar
How do I display all those lines not starting with the keyword as…

Michael Gruenstaeudl
- 1,609
- 1
- 17
- 31
0
votes
1 answer
what will be the LR(1) itemset of the following grammar?
I need to construct the clr parser for the following grammar:
E->E+T|T
T->T*F|F
F->(E)|id
I am confused what will the look aheads will be. I have tried to solve the first few item sets but something seems to be wrong.

Kangkan Talukdar
- 17
- 2
-1
votes
3 answers
How to only read the last line from a text file
I am working on a tool project. I need to grab the last line from a file & assign into a variable. This is what I have tried:
line=$(head -n $NF input_file)
echo $line
Maybe I could read the file in reverse then use
line=$(head -n $1…

Omar
- 81
- 1
- 7
-2
votes
3 answers
Linux remove all empty lines and corresponding line above it
I am trying to delete all empty lines, including spaces or tabs, and the line right above the empty line.
I have successfully used grep to get the empty line and the line above it, using grep -B 1 -e '^[[:space:]]*$' filename . I have tried adding…

user19619903
- 131
- 5
-2
votes
3 answers
Bash script shows changes in console but not in file | How do i save changes?
New to Bash scripting.
I have a textfile bar.txt with text:
123
456
789
I am trying to reverse this to:
987
654
321
I have managed to do this just fine with:
tac bar.txt | rev
However, the changes doesn't save to the .txt file, which still has…

houndedfella
- 11
- 1
- 1
- 4
-5
votes
1 answer
Previous version of the source code(Talend) from nexus repo
I have a incorrect version of the job where I published to TAC is there a way to get the previous version from the nexus repo

Linuxlearner
- 1
- 3