Visit The New, Modern Unix Linux Community

Search Results

Search: Posts Made By: adgjmpt
1,861
Posted By adgjmpt
Still i am stuck:)
Still i am stuck:)
1,861
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
...
1,861
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...
1,861
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.
1,861
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...
1,861
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+$", _)...
1,861
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...
6,332
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...
696
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...
696
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, /[,":]/)...
737
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...
737
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 >...
1,480
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...
1,480
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 ,...
1,480
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...
1,480
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:/...
1,480
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 ###

>...
1,480
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?






>...
1,954
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 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy