Search Results

Search: Posts Made By: adgjmpt
2,675
Posted By adgjmpt
Still i am stuck:)
Still i am stuck:)
2,675
Posted By adgjmpt
@RudiC I tried to format the whole issue. ...
@RudiC
I tried to format the whole issue.

Below is the code i am currently using


#!/bin/bash

cd /cygdrive/c/output/LLDP
#cat *.txt > output_temp.txt
...
2,675
Posted By adgjmpt
@RudiC I am new to this forum, Still finding...
@RudiC

I am new to this forum, Still finding my way around the rules for posting in this forum, Apologizes for the formatting errors i have done.

In reference to your Post-3

- how to select...
2,675
Posted By adgjmpt
@RudiC Could you please point where i am...
@RudiC

Could you please point where i am going wrong i can work from there, As being newbie at this i am not able to figure out.
2,675
Posted By adgjmpt
Sorry for that actually after the script was...
Sorry for that actually after the script was working i was targeting a bigger output from the file, Like more details it can pull, It will be really helpful if i could get a solution for this, As i...
2,675
Posted By adgjmpt
Thanks alot this worked perfectly but i have one...
Thanks alot this worked perfectly but i have one issue you can see in my output the script is skipping the first result for System Capabilities: and IP:


awk '
{sub ("\r+$", _)...
2,675
Posted By adgjmpt
awk Script
I am trying a script where i awk the output text file to a csv file

Attached are the input file , I am a newbie at bash scripting

Input Text file




awk '
/NE name:/ {
n = $4...
7,835
Posted By adgjmpt
awk Script
I am trying a script where i awk the output text file to a csv file

Attached are the input file , I am a newbie at bash scripting

Input Text file




awk '
/NE name:/ {
n = $4...
804
Posted By adgjmpt
Thanks for the help very much.....But i am trying...
Thanks for the help very much.....But i am trying put this in a CSV and output i am trying to get is comma separated and i am trying also squeeze in this input too which extension of my previous...
804
Posted By adgjmpt
awk Help
Hi,

The desired output i am trying to get is as below but the awk i am trying does not get the desired result.


awk '
/NE name:/ {
n = $4
}
/"To/ {
split($0, t, /[,":]/)...
945
Posted By adgjmpt
Hi, The desired output i am trying to get...
Hi,

The desired output i am trying to get is as below.



AB1S2a FAC-12-1 AREA=0.0.0.3 To AB2S2a SL6 P1-1
AB2S2a FAC-12-1 AREA=0.0.0.3 To AB3S2a SL6 P1-1...
945
Posted By adgjmpt
Reformat awk output
I need to rearrange the output but i am unable to arrange it to match the format. In the output i need NAME=\"To in the column .

Bash:


#!/bin/bash

cd /cygdrive/c/output/a
cat *.txt >...
3,602
Posted By adgjmpt
Hi Don, Actually it was mistake from my side...
Hi Don,

Actually it was mistake from my side there was some issue with TL1 script which was in the bash script and afterwards i added this script to the TL1 expect script and output data was...
3,602
Posted By adgjmpt
Hi Don, This is different output format...
Hi Don,

This is different output format which was in my first post i was trying to get the temperature and the voltages and that was solved thanks to you ,In this output i need the shelf number ,...
3,602
Posted By adgjmpt
Thanks Don the two other fields are also voltages...
Thanks Don the two other fields are also voltages like the output is very long and i am trying figure out bit by bit.

It was really helpful as i am new to bash scripting.

---------- Post...
3,602
Posted By adgjmpt
Thanks you very much got it to work but the...
Thanks you very much got it to work but the output is replacing the echo output at the start of the script


#!/bin/bash


i=output.csv

echo "NE_Name, Temperature" >$i


awk '
/NE name:/...
3,602
Posted By adgjmpt
Hi thanks for reply below is the proper code , ...
Hi thanks for reply below is the proper code ,

I want the NE name which is AB1S2a and the Temperature which is 33C to be able output in csv.

### NE name: AB1S2a ###

>...
3,602
Posted By adgjmpt
Copy data to CSV file from txt output
Hi Everyone ,

Below is output from a TL1 , I want just the NE Name: and beside that the Temperature and the voltages in a csv file , Is this possible?






>...
2,442
Posted By adgjmpt
Requesting help for TL1 scripting
HI Everyone,


I have TL1 script which takes the temperature of a CISCO equipment through TELNET now i need to save the output of the command to a csv file .


Like this is the output


>...
Showing results 1 to 19 of 19

 

Featured Tech Videos

All times are GMT -4. The time now is 01:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy