Sponsored Content
Top Forums Shell Programming and Scripting change log vertical to horizontal lines Post 302593658 by justbow on Friday 27th of January 2012 04:27:21 PM
Old 01-27-2012
actually no, but i can do looping for the other because the format is same.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Need help in changing vertical lines to horizontal line in a file

Hi, I have a file like below robert PREF: 3 AVAIL: henry PREF: 234 AVAIL: john PREF: 145,178 AVAIL: 123 matt PREF: 564,932 AVAIL: ten PREF: 389 AVAIL: kill (2 Replies)
Discussion started by: rocky1954
2 Replies

2. UNIX for Dummies Questions & Answers

Horizontal to vertical

Hi, Silly question, if I have an excel file that looks something like this: ................. Subject 1 Subject 2 Subject 3 Subject 4 Fever..............13...........9.............23..........14 Headache.........2............12...........18..........23... (3 Replies)
Discussion started by: Xterra
3 Replies

3. UNIX for Dummies Questions & Answers

vertical to horizontal

dear all, i'm new to unix and i try to figure out the best case for making list of vertical text to become horizontal and skip the line 1 and 2. example text : Data DATE XXXXX MAX 47 53 49 51 48 48 7 46 51 8 25 (6 Replies)
Discussion started by: andrisetia
6 Replies

4. Shell Programming and Scripting

Need perl or shell script to sort vertical lines to horizontal line in csv format

Need perl or shell script to sort vertical lines to horizontal line in csv format My file like below ------------------------- ================================================================================ PATH PINKY1000#I1-1-ZENTA1000-2#I7-1-ASON-SBR-UP-943113845 ... (4 Replies)
Discussion started by: sreedhargouda.h
4 Replies

5. Shell Programming and Scripting

Script for parsing vertical log into horizontal

Hi, I have log like this : And i want the output like below : I have try using awk but doesn't work awk ' /ffff /{ts=$1} f && /SectorAntenna\=1/{sa1=$3} f && /SectorAntenna\=2/{sa2=$3} f && /SectorAntenna\=3/{sa3=$3} { s= ts "|" sa1 "|" sa2 "|" sa3 print s f=0 }' (7 Replies)
Discussion started by: justbow
7 Replies

6. Shell Programming and Scripting

How do i do the vertical to horizontal??

51009 8746 8912 17986 20315 24998 5368 38934 7805 8566 (4 Replies)
Discussion started by: nikhil jain
4 Replies

7. Shell Programming and Scripting

Change the vertical logs to horizontal line

Hi, cat log EPC-SubsId: 3333 EPC-GrIds: RTGHUPA:1:15-11-2013T19:59,22-11-2013T19:59 EPC-GrIds: PrimaXGB_23:10 EPC-SubsId: 4444 EPC-GrIds: RTGHUPB:1:15-11-2013T19:59,22-11-2013T19:59 EPC-SubId: 5555 EPC-GrIds: RTGHUPC:1:15-11-2013T19:59,22-11-2013T19:59 EPC-SubsId: 6666... (1 Reply)
Discussion started by: justbow
1 Replies

8. UNIX for Dummies Questions & Answers

Change Vertical to Horizontal

I need to change data from vertical to horizontal but with condition input USA|80 AUS|40 BRA|33 VEGAS|40 KENTUCKY|50 NEWYORK|21 DARWIN|33 ADELAIDE|21 SAOPAOLO|44 RIO|89 GAPIZA|44 BENFLEX|32 AXIS|44 ACRE|56 HEIGHT|22 (5 Replies)
Discussion started by: radius
5 Replies

9. Emergency UNIX and Linux Support

Help parsing log from vertical to horizontal line

Hi Expert, i have log in attached (log.txt) i want the log result become horizontal line : recordOpeningTime,servedMSISDN,ratingGroup,datavolumeFBCUplink,datavolumeFBCDownlink 1502260153422B0800,196738930571,3,7946,2219 1502260153422B0800,196738930571,3,233,174... (4 Replies)
Discussion started by: justbow
4 Replies

10. UNIX for Beginners Questions & Answers

Convert a horizontal lines to vertical lines in a csv file

Hi.. I need some help in converting the below horizontal lines to vertical lines format. can anyone help me on this. input file Hour,1,2,3,4,5 90RT,106,111,111,112,111 output file Hour,90RT 1,106 2,111 3,111 4,112 5,111 (3 Replies)
Discussion started by: Raghuram717
3 Replies
fbset(1)						     Linux frame buffer utils							  fbset(1)

NAME
fbset - show and modify frame buffer device settings SYNOPSIS
fbset [options] [mode] DESCRIPTION
fbset is a system utility to show or change the settings of the frame buffer device. The frame buffer device provides a simple and unique interface to access different kinds of graphic displays. Frame buffer devices are accessed via special device nodes located in the /dev directory. The naming scheme for these nodes is always fb/<n> or fb<n>, where n is the number of the used frame buffer device. fbset uses an own video mode database located in /etc/fb.modes. An unlimited number of video modes can be defined in this database. For further information see fb.modes(5). OPTIONS
If no option is given, fbset will display the current frame buffer settings. General options: --help, -h display an usage information --test don't change, just test whether the mode is valid --show, -s display the video mode settings. This is default if no further option or only a frame buffer device via -fb is given --info, -i display all available frame buffer information --verbose, -v display information what fbset is currently doing --version, -V display the version information about fbset --xfree86, -x display the timing information as it's needed by XFree86 Frame buffer device nodes: --all, -a change all virtual consoles on this device -fb <device> device gives the frame buffer device node. If no device via -fb is given, /dev/fb/0 or /dev/fb0 is used Video mode database: -db <file> set an alternative video mode database file (default is /etc/fb.modes), see also fb.modes(5) Display bitfield colors: -rgba <red,green,blue,alpha> each in length or length/offset color format Display geometry: -xres <value> set visible horizontal resolution (in pixels) -yres <value> set visible vertical resolution (in pixels) -vxres <value> set virtual horizontal resolution (in pixels) -vyres <value> set virtual vertical resolution (in pixels) -depth <value> set display depth (in bits per pixel) -nonstd <value> select nonstandard video mode --geometry, -g ... set all geometry parameters at once in the order <xres> <yres> <vxres> <vyres> <depth>, e.g. -g 640 400 640 400 4 -match make the physical resolution match the virtual resolution Display timings: -pixclock <value> set the length of one pixel (in picoseconds). Note that the frame buffer device may only support some pixel lengths -left <value> set left margin (in pixels) -right <value> set right margin (in pixels) -upper <value> set upper margin (in pixel lines) -lower <value> set lower margin (in pixel lines) -hslen <value> set horizontal sync length (in pixels) -vslen <value> set vertical sync length (in pixel lines) --timings, -t ... set all timing parameters at once in the order <pixclock> <left> <right> <upper> <lower> <hslen> <vslen>, e.g. -t 35242 64 96 35 12 112 2 Display flags: -accel {false|true} set hardware text acceleration enable -hsync {low|high} set the horizontal sync polarity -vsync {low|high} set the vertical sync polarity -csync {low|high} set the composite sync polarity -gsync {false|true} set synch on green -extsync {false|true} enable or disable external resync. If enabled the sync timings are not generated by the frame buffer device and must be pro- vided externally instead. Note that this option may not be supported by every frame buffer device -bcast {false|true} enable or disable broadcast modes. If enabled the frame buffer generates the exact timings for several broadcast modes (e.g. PAL or NTSC). Note that this option may not be supported by every frame buffer device -laced {false|true} enable or disable interlace. If enabled the display will be split in two frames, each frame contains only even and odd lines respectively. These two frames will be displayed alternating, this way twice the lines can be displayed and the vertical fre- quency for the monitor stays the same, but the visible vertical frequency gets halved -double {false|true} enable or disable doublescan. If enabled every line will be displayed twice and this way the horizontal frequency can easily be doubled, so that the same resolution can be displayed on different monitors, even if the horizontal frequency specifica- tion differs. Note that this option may not be supported by every frame buffer device Display positioning: -move {left|right|up|down} move the visible part of the display in the specified direction -step <value> set step size for display positioning (in pixels or pixel lines), if -step is not given display will be moved 8 pixels hori- zontally or 2 pixel lines vertically EXAMPLE
To set the used video mode for X insert the following in rc.local: fbset -fb /dev/fb0 640x480-60 and make the used frame buffer device known to X: export FRAMEBUFFER=/dev/fb0 FILES
/dev/fb* /etc/fb.modes SEE ALSO
fb.modes(5), fbdev(4), /usr/share/doc/fbset/FAQ.gz AUTHORS
Geert Uytterhoeven <Geert.Uytterhoeven@cs.kuleuven.ac.be> Roman Zippel <zippel@fh-brandenburg.de> man files 2.1 2010-04-12 fbset(1)
All times are GMT -4. The time now is 10:54 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy