Working on a script to limit the reoccurrance of characters in a line.
To limit character reoccurance with 1x, 2x, 3x etc.
However I would like to be able to put the 1x, 2x, 3x in the script as a variable, but cant seem to figure out how that is best done..
So basic idea in script would be something along the lines of ;
So wondering how to be able to have the .*\1 sequences done with the $numb_char variable...
Hi,
I'm using awk and sed to extract some data out from a text file. The text file consists of data over a million (prolly millions) of lines.
Question: Is there a limit of number of lines for awk and sed?
Thanks in advance. (2 Replies)
Hi,
I'm using AIX version 5.3 currently. I'm trying to create a user id, e.g. andyleong, which the system prompted the length is too long.
1. I would like to know is that the length of user id is limited to maximum 8 characters for AIX.
2. Is it apply to all versions of AIX?
If no... (2 Replies)
Hello everyone.
I am trying to set up a monitor based on a "top" command statistic as follows:
top -bc -n1 > output.txt
I've put this command into a small script which is called by a cron... but there is something strange happening: the cron is limiting the output to output.txt to 80... (3 Replies)
In the vi editor, there seems to be some limit on the number of characters could be allowed in single line. I tried a line with characters up to 1880. It worked. But when i tried with something of 5000 characters, it doesnt work. Any suggestions.
Thanks in advance! (2 Replies)
I have a script that outputs the weather on two lines.
If possibly I would like to set a character limit on them
Currently it outputs something like
but I would like to limit the lines so appends an ellipsis if nescessary:
This is the script
#! /bin/bash
curl -s --connect-timeout... (2 Replies)
Hi,
I am trying to pull data from a txt file which has 51 lines
Example
AK
AR
AL
AZ
CA
CO
CT
Now i want to send above data as input to script but i want to run them twice at a time in a nohup
like
nohup Script_name AK & (3 Replies)
Is there a limit on the amount of lines less can handle? I grepped for something that is pretty common in my files so I tried to filter it through less so it was easier to look at. So I then used a redirect ">" to create a file. It created a file that was 103K long. So that makes me think there is... (6 Replies)
Hi, I need some help with this:
I'm making a script which does a couple of things with image files. The script is supposed to echo the number of each image it is processing like this:
Processing image1.jpgThe problem is with images with very long filenames, so I want to know how to limit the... (5 Replies)
BASH Gurus: Anyone know how to append continuous output command appending to a file, but limit that file to no more than 20 lines? The program I have running is simply monitoring my UDP port 53 for incoming packets endlessly. I just need to keep this file from going over 20 lines. Once the file... (3 Replies)