Today (Saturday) We will make some minor tuning adjustments to MySQL.

You may experience 2 up to 10 seconds "glitch time" when we restart MySQL. We expect to make these adjustments around 1AM Eastern Daylight Saving Time (EDT) US.


Reverse content


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Reverse content

I have file and need to reverse the contents:


cat filename
Code:
2345

AXY

34567

Output expects

Code:
34567

AXY

2345


Last edited by Scrutinizer; 3 Weeks Ago at 12:07 AM.. Reason: Changed code tags positions
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Facing issues with Content-Type:application/x-download Content-Disposition:attachment
scriptscript
I am in the process of developing a perl cgi page. I had succeeded in developing the page but there are few errors/issues with the page. description about cgi page: My CGI page retrieves all the file names from an directory and displays the files in drop down menu for downloading the...... Shell Programming and Scripting
5
Shell Programming and Scripting
reverse the file content blockwise
shellwell
Hi, I am having a file with some data present in blocks e.g. ---------------- some data some more data couple of more lines. ---------------- another set of data more lines ---------------- even more data more lines ----------------what I need is reverse the data. like.. ...... Shell Programming and Scripting
4
Shell Programming and Scripting
Help with remove duplicate content and only keep the first content detail
patrick87
Input data_10 SSA data_2 TYUE data_3 PEOCV data_6 SSAT data_21 SSA data_19 TYUEC data_14 TYUE data_15 SSA data_32 PEOCV . . Desired Output data_10 SSA data_2 TYUE data_3 PEOCV data_6 SSAT data_19 TYUEC... Shell Programming and Scripting
9
Shell Programming and Scripting
sed, awk [TAG]$content[/TAG] How to get var in $content in textfile?
atmosroll
Hello, I got a Qstion. Im posting to a phpbb forum with bash and curl.. i have a text file with the following tags that i post to the forum: $var1 $var2 $var3 How can i with sed or awk put var content from shell script between the ... in the...... Shell Programming and Scripting
7
Shell Programming and Scripting
Reverse *
azmathshaikh
when I do $ ls z* List of all files begining with 'z'. But what if I want to do a reverse lookup. Just for interest sake ;) $ ls ztr should be same as $ ls ztr* $ ls zt* $ ls z*... Shell Programming and Scripting
2
Shell Programming and Scripting

Featured Tech Videos