I'd first look at what are white characters. Are they spaces, tabs, something else?
or
if your system doesn't support -A option.
Then
where you substitute the first two spaces with your white characters that are in the file.
//============================================
Alternatively, if you have only 4 columns, here is an awk + printf solution:
Change 10 to how wide you want the columns.
Hi All,
How do i remove the spaces in between, the outputted result: my output is like below and i dont want spaces between them, how do i do that. I am enclosing the peice of code that does that:-
if ; then
$ECHO "The Path is:" $OFFERING_FILE_PATH/$z
$ECHO $Z
else
$ECHO ""
fi... (10 Replies)
Hello
I have a file with data something like this in it :
texttexttext "text .lst" TEXT=" text "
texttexttext "moretext .lst" TEXT=" text "
Question is how do I get rid of space so that the files looks like this :
texttexttext "text.lst" TEXT="text"
texttexttext... (8 Replies)
I have a customer file now and would like to separate the names into two cells in a spreadsheet. Here is my data as an example:
SHAWN R KEEGAN
shawn r scroggin
Shawn Regan
Shawn Reilly
The first two have the middle initial so I'd like to include them in the "first name" field and the last... (11 Replies)
Hi Guys,
I want remove starting space of each line ...
My Input:
A B C D E
C V F G H
F R T Y U
D F G H J
L O I U Y G P O
K O P L O
L O I P
P O P
P P P P
My Output:
A B C D E
C V F G H (7 Replies)
I created a awk state to calculate the number of success however when the query runs it has a leading zero. Any ideas on how to remove the leading zero from the calculation?
Here is my query:
cat myfile.log | grep | awk '{print $2,$3,$7,$11,$15,$19,$23,$27,$31,$35($19/$15*100)}'
02:00:00... (1 Reply)
Hello,
I need help. I have xml file and there are one extra space on number <EpiReference>1 42345</EpiReference>. And of cource, the value change on every new file. I need remove space from that value what is in between <EpiReference> and </EpiReference>. How I can do that?
This are example... (9 Replies)
using python 3 when i run this code to get the urls i get a space in the url
how do i remove the space after the last /
thanks
# Import libraries
import requests
from bs4 import BeautifulSoup
# Connect to the URL
page = requests.get('https://www.meihoski.co.jp/movie/')
soup... (3 Replies)